NEO-32: satisfy gdlint line length (pre-push)

pull/59/head
VinPropane 2026-04-30 22:05:01 -04:00
parent cdf7c61ce4
commit c83d8c8ed2
2 changed files with 5 additions and 2 deletions

View File

@ -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()

View File

@ -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}]}