mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 04:06:39 +09:00
Fixed Time On Inventory Search
This commit is contained in:
@@ -58,8 +58,9 @@ local function search_player(player)
|
||||
end
|
||||
|
||||
Event.register(defines.events.on_tick,function(event)
|
||||
if not (game.tick%3600)==0 then return end
|
||||
local players = game.connected_players
|
||||
local player = players[math.random(#players)]
|
||||
search_player(player)
|
||||
if (game.tick%3600) == 0 then
|
||||
local players = game.connected_players
|
||||
local player = players[math.random(#players)]
|
||||
search_player(player)
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user