diff --git a/Game/source/assets/scripts/server_handlers/network_processors/network_setup.gd b/Game/source/assets/scripts/server_handlers/network_processors/network_setup.gd index 40a1bf9..6cddb4e 100644 --- a/Game/source/assets/scripts/server_handlers/network_processors/network_setup.gd +++ b/Game/source/assets/scripts/server_handlers/network_processors/network_setup.gd @@ -26,7 +26,7 @@ func _ready(): current_spawn_location_instance_number = 1 for player in PersistentNodes.get_children(): if player.is_in_group("Player"): - for spawn_location in $Spawn_locations.get_children(): + for spawn_location in $spawn_locations.get_children(): if int(spawn_location.name) == current_spawn_location_instance_number and current_player_for_spawn_location_number != player: player.rpc("update_position", spawn_location.global_position) player.rpc("enable") diff --git a/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.md5 b/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.md5 index 5d07b18..cccd565 100644 --- a/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.md5 +++ b/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.md5 @@ -1,3 +1,3 @@ -source_md5="8fad288d82d0e9d24f41f65f4d5e4301" -dest_md5="a9d8bb2f96bc788ab0d7fc16f125c927" +source_md5="8710596f5b7629d554530ee5d3004df2" +dest_md5="6bee633952da9324309ed830215bd4a3" diff --git a/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex b/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex index 0d2327c..2ea7c23 100644 Binary files a/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex and b/kristofers/game/.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex differ diff --git a/kristofers/game/code/server/network_setup.gd b/kristofers/game/code/server/network_setup.gd index 7769a39..f8dd1c0 100644 --- a/kristofers/game/code/server/network_setup.gd +++ b/kristofers/game/code/server/network_setup.gd @@ -24,7 +24,7 @@ func _ready(): current_spawn_location_instance_number = 1 for player in PersistentNodes.get_children(): if player.is_in_group("Player"): - for spawn_location in $Spawn_locations.get_children(): + for spawn_location in $spawn_locations.get_children(): if int(spawn_location.name) == current_spawn_location_instance_number and current_player_for_spawn_location_number != player: player.rpc("update_position", spawn_location.global_position) player.rpc("enable")