mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
bugfix
This commit is contained in:
@@ -53,7 +53,7 @@ namespace VRCX
|
||||
m_MapLock.ExitReadLock();
|
||||
}
|
||||
|
||||
return string.Empty;
|
||||
return null;
|
||||
}
|
||||
|
||||
public void Set(string key, string value)
|
||||
|
||||
@@ -5,10 +5,11 @@ class SharedRepository {
|
||||
key = transformKey(key);
|
||||
return SharedVariable.Remove(key);
|
||||
}
|
||||
|
||||
getString(key, defaultValue = null) {
|
||||
key = transformKey(key);
|
||||
var value = SharedVariable.Get(key);
|
||||
if (value === undefined) {
|
||||
if (value === null) {
|
||||
return defaultValue;
|
||||
}
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user