mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
minor fix
clear the handler when we've loaded the game
This commit is contained in:
parent
717d838f39
commit
fae09298fb
@ -79,6 +79,9 @@ local function configuration_changed()
|
|||||||
_LIFECYCLE = 7 -- config_change
|
_LIFECYCLE = 7 -- config_change
|
||||||
local handlers = event_handlers[configuration_changed_name]
|
local handlers = event_handlers[configuration_changed_name]
|
||||||
call_handlers(handlers)
|
call_handlers(handlers)
|
||||||
|
|
||||||
|
event_handlers[configuration_changed_name] = nil
|
||||||
|
|
||||||
_LIFECYCLE = 8 -- Runtime
|
_LIFECYCLE = 8 -- Runtime
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user