chore(client): gdformat pass on atlas codec scripts

Formatting-only cleanup of the #969/#960-A codec + bridge scripts to match
gdformat output (the pre-push gdformat check is advisory; these landed
un-formatted). No behavior change — 70/70 protocol tests green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-24 19:03:29 +02:00
co-authored by Claude Opus 4.7
parent 33a2ed6aae
commit 69ed80c96c
3 changed files with 51 additions and 22 deletions
+5 -3
View File
@@ -264,8 +264,7 @@ func _process(delta: float) -> void: # gdlint:disable=max-returns
# Send startup message with world_seed and character appearance (#175, D-010/D-029, #718).
# Server blocks waiting for this before entering the tick loop.
var startup_bytes := Protocol.encode_startup_message(
GameState.world_seed,
GameState.character_visual_descriptor
GameState.world_seed, GameState.character_visual_descriptor
)
if startup_bytes.size() > 0:
var send_err: int = _bridge.send_message(startup_bytes)
@@ -400,7 +399,10 @@ func request_atlas_layers(body_id: String, up_to: String = "Topography") -> void
var err: int = _bridge.send_message(bytes)
if err != OK:
push_error(
"SimBridge: failed to send atlas layer request for %s: %s" % [body_id, error_string(err)]
(
"SimBridge: failed to send atlas layer request for %s: %s"
% [body_id, error_string(err)]
)
)