mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
local Clustorio = require("modules/clusterio/api")
|
||||
local ExpUtil = require("modules/exp_util")
|
||||
|
||||
local Event = {
|
||||
@@ -66,7 +65,8 @@ function Event.on_init(handler)
|
||||
end
|
||||
|
||||
handlers[#handlers + 1] = handler
|
||||
Event.add(Clustorio.events.on_server_startup, handler)
|
||||
Event.add(defines.events.on_singleplayer_init, handler)
|
||||
Event.add(defines.events.on_multiplayer_init, handler)
|
||||
end
|
||||
|
||||
function Event.on_load(handler)
|
||||
|
||||
Reference in New Issue
Block a user