From 2244fcb7caabb4edaaac23beb703b3589edd7070 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 8 Feb 2024 17:48:14 -0500 Subject: blindfold and no double lobby --- racing/load.gd | 2 ++ racing/multiplayer.gd | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'racing') diff --git a/racing/load.gd b/racing/load.gd index cd40e42..503aa3a 100644 --- a/racing/load.gd +++ b/racing/load.gd @@ -10,6 +10,8 @@ func _load(): var blindfold = ColorRect.new() blindfold.color = Color.black blindfold.name = "blindfold" + blindfold.anchor_right = Control.ANCHOR_END + blindfold.anchor_bottom = Control.ANCHOR_END add_child(blindfold) var race_manager = global.get_node("RaceManager") diff --git a/racing/multiplayer.gd b/racing/multiplayer.gd index 1cd3b26..4255ba6 100644 --- a/racing/multiplayer.gd +++ b/racing/multiplayer.gd @@ -37,9 +37,9 @@ func _ready(): _setup_recurring_task(0.1, "_broadcast_player_location") _setup_recurring_task(5.0, "_resend_messages_needing_ack") - _setup_recurring_task(10.0, "_request_lobby_list") + # _setup_recurring_task(10.0, "_request_lobby_list") - _request_lobby_list() + # _request_lobby_list() func _process(_delta: float) -> void: -- cgit 1.4.1