mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-14 10:23:17 +02:00
Still trying to fix player leaving too early.
This commit is contained in:
parent
5b87f9e369
commit
0771360b84
@ -273,7 +273,7 @@ function DelayedSpawnOnTick()
|
||||
delayedSpawn = global.delayedSpawns[i]
|
||||
|
||||
if (delayedSpawn.delayedTick < game.tick) then
|
||||
if ((delayedSpawn.player ~= nil) and (delayedSpawn.player.connected)) then
|
||||
if (delayedSpawn.player ~= nil) then
|
||||
SendPlayerToNewSpawnAndCreateIt(delayedSpawn.player, delayedSpawn.spawn, delayedSpawn.moatEnabled)
|
||||
end
|
||||
table.remove(global.delayedSpawns, i)
|
||||
|
Loading…
Reference in New Issue
Block a user