diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 14:58:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 14:58:24 -0400 |
commit | 679bba3b46ea30a329c617b3cc47645d540a261f (patch) | |
tree | 9a5912f3443ef9dd6e48d2d2088135f29592cd67 /Archipelago/client.gd | |
parent | b6b24b10c6fb056bfa297c6f3a6f29a9991f9fa1 (diff) | |
download | lingo-archipelago-679bba3b46ea30a329c617b3cc47645d540a261f.tar.gz lingo-archipelago-679bba3b46ea30a329c617b3cc47645d540a261f.tar.bz2 lingo-archipelago-679bba3b46ea30a329c617b3cc47645d540a261f.zip |
Client switches to LL1 after a successful connection
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 62f4d71..74fe6e9 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -23,6 +23,8 @@ var _players = [] | |||
23 | var _checked_locations = [] | 23 | var _checked_locations = [] |
24 | var _slot_data = {} | 24 | var _slot_data = {} |
25 | 25 | ||
26 | signal client_connected | ||
27 | |||
26 | 28 | ||
27 | func _init(): | 29 | func _init(): |
28 | global._print("Instantiated APClient") | 30 | global._print("Instantiated APClient") |
@@ -102,6 +104,8 @@ func _on_data(): | |||
102 | _checked_locations = message["checked_locations"] | 104 | _checked_locations = message["checked_locations"] |
103 | _slot_data = message["slot_data"] | 105 | _slot_data = message["slot_data"] |
104 | 106 | ||
107 | emit_signal("client_connected") | ||
108 | |||
105 | elif cmd == "ConnectionRefused": | 109 | elif cmd == "ConnectionRefused": |
106 | global._print("Connection to AP refused") | 110 | global._print("Connection to AP refused") |
107 | global._print(message) | 111 | global._print(message) |