server: fixed bug that caused host client to disconnect when leaving lobby if they were the only connected client in the lobby

This commit is contained in:
2025-07-04 14:24:28 +02:00
parent b468a391f5
commit af763c89b3
6 changed files with 26 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
class_name GameClient
extends Node
@export var web_client: WebClientTCP
var is_host: bool = false
func start_game() -> void:
web_client.start_game()