summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/global.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd
index 0648d80a..a4f7ed2a 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -226,7 +226,7 @@ func array_eq(a, b):
func add_missing_keys(dict: Dictionary, reference: Dictionary):
for k in reference.keys():
- if !dict.has(k):
+ if !dict.has(k) or typeof(dict[k]) != typeof(reference[k]):
dict[k] = reference[k]
else:
if dict[k] is Dictionary: