about summary refs log tree commit diff stats
path: root/Archipelago/client.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r--Archipelago/client.gd4
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 = []
23var _checked_locations = [] 23var _checked_locations = []
24var _slot_data = {} 24var _slot_data = {}
25 25
26signal client_connected
27
26 28
27func _init(): 29func _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)