Bazaar and leaderboard bug fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user