From c83d8c8ed2af42787466cb3833c2754233a81c9f Mon Sep 17 00:00:00 2001 From: VinPropane Date: Thu, 30 Apr 2026 22:05:01 -0400 Subject: [PATCH] NEO-32: satisfy gdlint line length (pre-push) --- client/scripts/main.gd | 5 ++++- client/test/cooldown_state_test.gd | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/scripts/main.gd b/client/scripts/main.gd index 08ac2e4..156ae98 100644 --- a/client/scripts/main.gd +++ b/client/scripts/main.gd @@ -379,7 +379,10 @@ func _on_cast_result_received(accepted: bool, reason_code: String) -> void: return if accepted: _cast_feedback_label.text = "Cast: accepted" - if is_instance_valid(_cooldown_client) and _cooldown_client.has_method("request_sync_from_server"): + if ( + is_instance_valid(_cooldown_client) + and _cooldown_client.has_method("request_sync_from_server") + ): _cooldown_client.call("request_sync_from_server") return var rc := reason_code.strip_edges() diff --git a/client/test/cooldown_state_test.gd b/client/test/cooldown_state_test.gd index c23133b..6a42c14 100644 --- a/client/test/cooldown_state_test.gd +++ b/client/test/cooldown_state_test.gd @@ -37,7 +37,7 @@ func test_remaining_positive_when_end_after_server_time() -> void: func test_invalid_server_time_string_does_not_lock_slot_ready() -> void: - # Arrange: bogus ISO would parse as 0 in Godot; anchor must fall back so slot 0 is not stuck cooling. + # Arrange: bogus ISO parses as 0; anchor must fall back so slot 0 is not stuck cooling. var state: RefCounted = CooldownStateScript.new() var snap := {"serverTimeUtc": "__not_iso__", "slots": [{"slotIndex": 0}]}