diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-15 14:23:25 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-15 14:23:25 +0100 |
commit | a14e88ff4d0d87841a44254e2bff1784da6e8b48 (patch) | |
tree | 0507cb8117da7943805a6479aef4526edb2db4dd /login.gd | |
parent | ca4d1945598863d0ce297f4272317e5dd5797f88 (diff) |
next commit
Diffstat (limited to 'login.gd')
-rw-r--r-- | login.gd | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -9,7 +9,7 @@ var current_character_information: CharacterInformation func _ready() -> void: switch_screen(%Login) - $BackgroundMusic.play() + #$BackgroundMusic.play() %ChatWindow.visible = false @@ -112,11 +112,10 @@ func _on_character_selected_pressed(slot_idx: int): # TODO: switch to game :) %ChatWindow.visible = true - Network.map_server.received_packet.connect(func(packet: Packet): - if packet is ServerMessagePacket: - %ChatWindow.add_message(packet.message) - ) + %ChatWindow.initialize() # TODO: load map var map_loaded_packet := MapLoadedPacket.new() Network.map_server.send(map_loaded_packet) + + # TODO: check which map server packets to send next |