summary refs log tree commit diff stats
path: root/racing/lobby.gd
diff options
context:
space:
mode:
Diffstat (limited to 'racing/lobby.gd')
-rw-r--r--racing/lobby.gd4
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
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.4" 18const VERSION = "0.0.5"
19 19
20const LL1_AREAS = [ 20const 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
318func _send_p2p_packet(data: Dictionary, recipient_id: int, mode: int, needs_ack: bool) -> void: 320func _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))