mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
Covnerted Event and Global
This commit is contained in:
@@ -76,7 +76,7 @@ function ThisModule.search_player(player)
|
||||
end
|
||||
|
||||
-- Event Handlers Define
|
||||
script.on_event(defines.events.on_tick,function(event)
|
||||
Event.add(defines.events.on_tick,function(event)
|
||||
if (game.tick%900) == 0 then
|
||||
local players = game.connected_players
|
||||
if #players == 0 then return end
|
||||
|
||||
Reference in New Issue
Block a user