1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-04 09:43:00 +02:00

Default with a CAPITAL D. closes #175

This commit is contained in:
Oarcinae 2024-10-12 22:15:26 -04:00
parent 7318113af7
commit 6a5eac76e6

View File

@ -1317,7 +1317,7 @@ end
function SendPlayerToSpawn(surface_name, player)
local spawn = global.player_respawns[player.name][surface_name]
SafeTeleport(player, game.surfaces[surface_name], spawn.position)
player.permission_group = game.permissions.get_group("default")
player.permission_group = game.permissions.get_group("Default")
end
-- ---Send player to a random spawn point.