mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-30 23:17:53 +02:00
Mtn v3 - remove nth tick handler
This commit is contained in:
parent
dcf743cc37
commit
11a0fb2353
@ -1101,6 +1101,7 @@ local apply_settings_token =
|
||||
|
||||
Public.reset_stateful()
|
||||
Public.increase_enemy_damage_and_health()
|
||||
Public.init_mtn()
|
||||
end
|
||||
)
|
||||
|
||||
|
@ -382,13 +382,6 @@ function Public.save_stateful_settings()
|
||||
end
|
||||
end
|
||||
|
||||
local init_mtn_token =
|
||||
Task.register(
|
||||
function()
|
||||
Public.init_mtn()
|
||||
end
|
||||
)
|
||||
|
||||
local apply_settings_token =
|
||||
Task.register(
|
||||
function(data)
|
||||
@ -408,8 +401,6 @@ local apply_settings_token =
|
||||
end
|
||||
|
||||
Public.stateful_on_server_started()
|
||||
|
||||
Task.set_timeout_in_ticks(2, init_mtn_token)
|
||||
end
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user