Bazaar and leaderboard bug fixes

This commit is contained in:
dingo
2026-03-25 14:00:06 -04:00
parent 0ace4d247b
commit e56a35b154
6 changed files with 243 additions and 95 deletions
+3 -1
View File
@@ -231,8 +231,10 @@ func _poll_packets() -> void:
print("[Net] << %s" % text)
var parsed: Variant = JSON.parse_string(text)
#print("[Parsed Type] ", type_string(typeof(parsed)))
if typeof(parsed) != TYPE_DICTIONARY:
push_warning("Network: non-object packet — %s" % text)
if (parsed != null):
push_warning("Network: non-object packet — %s" % text)
continue
_dispatch(parsed as Dictionary)