master
Zachary Epps 4 years ago
parent e9354f1d93
commit 90005351f0
  1. 5
      scripts/NetworkManager.gd

@ -30,4 +30,7 @@ func _player_disconnect(id):
players.erase(id)
remote func _send_player_info(id, data):
if get_tree().is_network_server():
for peer_id in players:
rpc_id(id, '_send_player_info', peer_id, players[peer_id])
players[id] = info
Loading…
Cancel
Save