Fix again

This commit is contained in:
Chris Bell 2024-12-14 11:16:55 -06:00
parent b5ff99272b
commit 6bdc812b44

View File

@ -297,8 +297,9 @@ func read_p2p_packet() -> void:
# Start game packet # Start game packet
if "message" in readable_data and readable_data["message"] == "start_game": if "message" in readable_data and readable_data["message"] == "start_game":
if packet_sender == host_id: print("Received game start packet.")
_on_game_started() _on_game_started()
# Print the packet to output # Print the packet to output
print("Packet: %s" % readable_data) print("Packet: %s" % readable_data)