Change to paths to help cut errors on lod

This commit is contained in:
Cooldude2606
2018-05-26 11:38:09 +01:00
parent 9a0c4b6eec
commit 9995cf0b72

View File

@@ -69,6 +69,7 @@ end)
Event.register(defines.events.on_player_changed_position, function(event)
local player = Game.get_player(event)
if player and player.valid and game.tick > 10 then else return end
if player.afk_time > 300 then return end
local surface = player.surface
local pos = player.position