summary refs log tree commit diff stats
path: root/racing
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-08 18:20:26 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-08 18:20:26 -0500
commita78ebd0916e540790141f8df64145d00c549fa2c (patch)
tree438909121d6fe305f27a3251a102a615aad4fc42 /racing
parente01b33777328b27901687fad4445685ec2b31ac7 (diff)
downloadlingo-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.gd3
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
15const PROTOCOL_VERSION = 2 15const PROTOCOL_VERSION = 2
16const RECIPIENT_BROADCAST_ALL = -1 16const RECIPIENT_BROADCAST_ALL = -1
17const LOBBY_MAP_NAME = "ll1_racing" 17const LOBBY_MAP_NAME = "ll1_racing"
18const VERSION = "0.0.2" 18const VERSION = "0.0.3"
19 19
20const LL1_AREAS = [ 20const 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: