1
0
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:
Gerkiz 2021-03-16 22:49:26 +01:00
parent 717d838f39
commit fae09298fb

View File

@ -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