Workaround to two GodotSharp bugs
This commit is contained in:
parent
7f2fc019d6
commit
b08052def9
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user