fix: pass Godot 4.7 multiplayer test suite

This commit is contained in:
Josh Creek
2026-09-01 08:24:33 +01:00
parent 76aad61191
commit c5678ce877
5 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ func _validate() -> void:
errors.append("--arena-rotation must be sequential or random, got '%s'" % rotation)
if bool(values["allocated-mode"]):
for key in ["match-id", "server-id", "playlist-version", "client-build", "assignment-expiry-unix", "server-image-digest", "transport", "region"]:
if String(values[key]).is_empty():
if str(values[key]).is_empty():
errors.append("--allocated-mode requires --%s" % key)
if int(values["assignment-expiry-unix"]) <= int(Time.get_unix_time_from_system()):
errors.append("--assignment-expiry-unix must be in the future")