From 5b35174ffab42f0331f1a6527ef6bbab7a3dbdcb Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 21 Dec 2024 14:15:11 +0100 Subject: next commit --- Game/Lobby/game_lobby.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Game/Lobby/game_lobby.gd') diff --git a/Game/Lobby/game_lobby.gd b/Game/Lobby/game_lobby.gd index 6bfa8be..ffc66f3 100644 --- a/Game/Lobby/game_lobby.gd +++ b/Game/Lobby/game_lobby.gd @@ -42,8 +42,8 @@ func request( get_tree().root.add_child(config.node) if config.method == HTTPClient.METHOD_POST: - config.set("id", current_game_id) - config.set("secret", current_secret) + config.data["id"] = current_game_id + config.data["secret"] = current_secret var response = HTTPResponse.new() config.node.request_completed.connect( @@ -60,6 +60,7 @@ func request( get_tree().root.remove_child(config.node) ) + config.node.request( "%s%s" % [server_base_url, url], config.headers, -- cgit v1.2.3