Fixed Two Small Problems

This commit is contained in:
Cooldude2606
2018-01-06 21:34:58 +00:00
parent 62d79c4104
commit 3d894cced4
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ local function search_player(player)
end
Event.register(defines.events.on_tick,function(event)
if not (game.tick%3600) then return end
if not (game.tick%3600)==0 then return end
local players = game.connected_players
local player = players[math.random(#players)]
search_player(player)