diff options
Diffstat (limited to 'apworld/client/client.gd')
-rw-r--r-- | apworld/client/client.gd | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apworld/client/client.gd b/apworld/client/client.gd index e25ad4b..9a4b402 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 | |||
108 | 108 | ||
109 | _checked_locations = [] | 109 | _checked_locations = [] |
110 | for location in message["checked_locations"]: | 110 | for location in message["checked_locations"]: |
111 | _checked_locations.append(int(message["checked_locations"])) | 111 | _checked_locations.append(int(location)) |
112 | 112 | ||
113 | client_connected.emit(_slot_data) | 113 | client_connected.emit(_slot_data) |
114 | 114 | ||
@@ -158,11 +158,7 @@ func _on_web_socket_server_message_received(_peer_id: int, packet: String) -> vo | |||
158 | elif cmd == "LocationInfo": | 158 | elif cmd == "LocationInfo": |
159 | for loc in message["locations"]: | 159 | for loc in message["locations"]: |
160 | location_scout_received.emit( | 160 | location_scout_received.emit( |
161 | int(loc["id"]), | 161 | int(loc["id"]), loc["item"], loc["player"], int(loc["flags"]), int(loc["self"]) |
162 | loc["item"], | ||
163 | loc["player"], | ||
164 | int(loc["flags"]), | ||
165 | int(loc["for_self"]) | ||
166 | ) | 162 | ) |
167 | 163 | ||
168 | elif cmd == "AccessibleLocations": | 164 | elif cmd == "AccessibleLocations": |