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:
parent
7318113af7
commit
6a5eac76e6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user