diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 19:17:57 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-08 19:17:57 -0500 |
commit | c5d9a2493d317a72a5bcb33c51d82918bbc360d3 (patch) | |
tree | 8d42d665955a447c95af8a75bd4ef3ea12c4a65a /racing/lobby.gd | |
parent | 09e500f0c1cacc8142bbaba0f801bfcfb082ec18 (diff) | |
download | lingo-race-c5d9a2493d317a72a5bcb33c51d82918bbc360d3.tar.gz lingo-race-c5d9a2493d317a72a5bcb33c51d82918bbc360d3.tar.bz2 lingo-race-c5d9a2493d317a72a5bcb33c51d82918bbc360d3.zip |
more than one packet?
Diffstat (limited to 'racing/lobby.gd')
-rw-r--r-- | racing/lobby.gd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/racing/lobby.gd b/racing/lobby.gd index 374fc07..2f965d9 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.4" | 18 | const VERSION = "0.0.5" |
19 | 19 | ||
20 | const LL1_AREAS = [ | 20 | const LL1_AREAS = [ |
21 | ["Starting Room", 0, 0, 0], | 21 | ["Starting Room", 0, 0, 0], |
@@ -314,6 +314,8 @@ func _read_p2p_packet() -> void: | |||
314 | if members_to_join.empty(): | 314 | if members_to_join.empty(): |
315 | _start_game() | 315 | _start_game() |
316 | 316 | ||
317 | _read_p2p_packet() | ||
318 | |||
317 | 319 | ||
318 | func _send_p2p_packet(data: Dictionary, recipient_id: int, mode: int, needs_ack: bool) -> void: | 320 | func _send_p2p_packet(data: Dictionary, recipient_id: int, mode: int, needs_ack: bool) -> void: |
319 | global._print("SENDING Packet %s" % JSON.print(data)) | 321 | global._print("SENDING Packet %s" % JSON.print(data)) |