diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 18:20:26 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 18:20:26 -0500 |
commit | a78ebd0916e540790141f8df64145d00c549fa2c (patch) | |
tree | 438909121d6fe305f27a3251a102a615aad4fc42 /racing | |
parent | e01b33777328b27901687fad4445685ec2b31ac7 (diff) | |
download | lingo-race-a78ebd0916e540790141f8df64145d00c549fa2c.tar.gz lingo-race-a78ebd0916e540790141f8df64145d00c549fa2c.tar.bz2 lingo-race-a78ebd0916e540790141f8df64145d00c549fa2c.zip |
process acks both times
Diffstat (limited to 'racing')
-rw-r--r-- | racing/lobby.gd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/racing/lobby.gd b/racing/lobby.gd index 933345e..94fe993 100644 --- a/racing/lobby.gd +++ b/racing/lobby.gd | |||
@@ -15,7 +15,7 @@ const MAX_PLAYERS = 250 | |||
15 | const PROTOCOL_VERSION = 2 | 15 | const PROTOCOL_VERSION = 2 |
16 | const RECIPIENT_BROADCAST_ALL = -1 | 16 | const RECIPIENT_BROADCAST_ALL = -1 |
17 | const LOBBY_MAP_NAME = "ll1_racing" | 17 | const LOBBY_MAP_NAME = "ll1_racing" |
18 | const VERSION = "0.0.2" | 18 | const VERSION = "0.0.3" |
19 | 19 | ||
20 | const LL1_AREAS = [ | 20 | const LL1_AREAS = [ |
21 | ["Starting Room", 0, 0, 0], | 21 | ["Starting Room", 0, 0, 0], |
@@ -269,7 +269,6 @@ func _read_p2p_packet() -> void: | |||
269 | var race_manager = global.get_node("RaceManager") | 269 | var race_manager = global.get_node("RaceManager") |
270 | if is_starting: | 270 | if is_starting: |
271 | race_manager.held_messages.append(packet.duplicate(true)) | 271 | race_manager.held_messages.append(packet.duplicate(true)) |
272 | return | ||
273 | var serialized: PoolByteArray = packet["data"] | 272 | var serialized: PoolByteArray = packet["data"] |
274 | var data: Dictionary = bytes2var(serialized, false) | 273 | var data: Dictionary = bytes2var(serialized, false) |
275 | if "message_id" in data: | 274 | if "message_id" in data: |