1
0
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:
Oarcinae 2018-01-27 10:09:03 -05:00
parent 5b87f9e369
commit 0771360b84

View File

@ -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)