Refactor to fit game-shell structure; externalized lobby client code

This commit is contained in:
2026-08-23 12:55:53 -05:00
parent 2a99880a98
commit 9a067711c7
24 changed files with 81 additions and 625 deletions

View File

@@ -54,6 +54,10 @@ func close_connection() -> void:
func unset_client() -> void:
if not peer: return
if not multiplayer:
peer.close()
peer = null
return
multiplayer.connected_to_server.disconnect(client_connected_to_server)
multiplayer.connection_failed.disconnect(client_connection_failed_to_server)