diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 17:48:14 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 17:48:14 -0500 |
commit | 2244fcb7caabb4edaaac23beb703b3589edd7070 (patch) | |
tree | a15ac9ec87d60e7875df90de197b25be0b79f8ca /racing | |
parent | 60a0a573f0d0329e8d5c73878165ba80fa2d2628 (diff) | |
download | lingo-race-2244fcb7caabb4edaaac23beb703b3589edd7070.tar.gz lingo-race-2244fcb7caabb4edaaac23beb703b3589edd7070.tar.bz2 lingo-race-2244fcb7caabb4edaaac23beb703b3589edd7070.zip |
blindfold and no double lobby
Diffstat (limited to 'racing')
-rw-r--r-- | racing/load.gd | 2 | ||||
-rw-r--r-- | racing/multiplayer.gd | 4 |
2 files changed, 4 insertions, 2 deletions
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(): | |||
10 | var blindfold = ColorRect.new() | 10 | var blindfold = ColorRect.new() |
11 | blindfold.color = Color.black | 11 | blindfold.color = Color.black |
12 | blindfold.name = "blindfold" | 12 | blindfold.name = "blindfold" |
13 | blindfold.anchor_right = Control.ANCHOR_END | ||
14 | blindfold.anchor_bottom = Control.ANCHOR_END | ||
13 | add_child(blindfold) | 15 | add_child(blindfold) |
14 | 16 | ||
15 | var race_manager = global.get_node("RaceManager") | 17 | 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(): | |||
37 | 37 | ||
38 | _setup_recurring_task(0.1, "_broadcast_player_location") | 38 | _setup_recurring_task(0.1, "_broadcast_player_location") |
39 | _setup_recurring_task(5.0, "_resend_messages_needing_ack") | 39 | _setup_recurring_task(5.0, "_resend_messages_needing_ack") |
40 | _setup_recurring_task(10.0, "_request_lobby_list") | 40 | # _setup_recurring_task(10.0, "_request_lobby_list") |
41 | 41 | ||
42 | _request_lobby_list() | 42 | # _request_lobby_list() |
43 | 43 | ||
44 | 44 | ||
45 | func _process(_delta: float) -> void: | 45 | func _process(_delta: float) -> void: |