From ff125bf97e26eecff6e7cbf89f55ffcf6c222fce Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 5 Oct 2025 12:06:00 -0400 Subject: Don't resend confirmed checked locations --- apworld/client/client.gd | 2 +- apworld/client/manager.gd | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apworld/client/client.gd b/apworld/client/client.gd index e25ad4b..a0abee9 100644 --- a/apworld/client/client.gd +++ b/apworld/client/client.gd @@ -108,7 +108,7 @@ func _on_web_socket_server_message_received(_peer_id: int, packet: String) -> vo _checked_locations = [] for location in message["checked_locations"]: - _checked_locations.append(int(message["checked_locations"])) + _checked_locations.append(int(location)) client_connected.emit(_slot_data) diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index 0d5a5aa..b13c1bd 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd @@ -503,6 +503,9 @@ func start_batching_locations(): func send_location(loc_id): + if client._checked_locations.has(loc_id): + return + if _batch_locations: _held_locations.append(loc_id) else: -- cgit 1.4.1