Workaround to two GodotSharp bugs

This commit is contained in:
Sofia 2017-11-22 20:51:05 +02:00
parent 7f2fc019d6
commit b08052def9
2 changed files with 1 additions and 5 deletions

View File

@ -11,7 +11,7 @@ namespace Network {
private int LastConnectionSended = -1;
private Thread ListenerThread;
private static byte[] ConfirmationBytes = { 0b10011010, 0b11010011 };
private static byte[] ConfirmationBytes = { 154, 211 };
public ConnectionList ConnectionList = new ConnectionList();

View File

@ -20,10 +20,6 @@ namespace Util {
Value = val;
}
public static explicit operator T(Optional<T> opt) {
return opt.Value;
}
public static implicit operator Optional<T>(T val) {
return new Optional<T>(val);
}