Discovered while coding for Openplanet. When running code like this
dictionary MyDictionary;
void Main() {
int value = -1;
bool found = MyDictionary.Get("MyKey", value);
print("Found: " + found);
print("Value: " + value);
}
The value returned will be edited sometimes
[ ScriptRuntime] [ LOG] [23:13:14] [Test] Found: false
[ ScriptRuntime] [ LOG] [23:13:14] [Test] Value: -1255002180
[ ScriptRuntime] [ LOG] [23:13:16] [Test] Found: false
[ ScriptRuntime] [ LOG] [23:13:16] [Test] Value: -2083188824
This doesn't happen when using int64 instead, but I'm reporting it just in case. Feel free to close if this is out of scope 👍
Discovered while coding for Openplanet. When running code like this
The value returned will be edited sometimes
This doesn't happen when using
int64instead, but I'm reporting it just in case. Feel free to close if this is out of scope 👍