mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Changed on_event(-2) to on_load
This commit is contained in:
@@ -488,7 +488,7 @@ script.on_event(defines.events.on_tick,function(event)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
script.on_event(-2,function(event)
|
script.on_load(function(event)
|
||||||
-- sets up metatable again so that threads contiune to work
|
-- sets up metatable again so that threads contiune to work
|
||||||
for uuid,thread in pairs(Server.threads) do
|
for uuid,thread in pairs(Server.threads) do
|
||||||
setmetatable(thread,{__index=Server._thread})
|
setmetatable(thread,{__index=Server._thread})
|
||||||
|
|||||||
Reference in New Issue
Block a user