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