diff --git a/VERSION b/VERSION index 6f2743d..0bfccb0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.4 +0.4.5 diff --git a/control.lua b/control.lua index 7f11eb3..5b3e347 100644 --- a/control.lua +++ b/control.lua @@ -9,12 +9,12 @@ function evogui.log(message) end end -game.on_event(defines.events.on_tick, function(event) +script.on_event(defines.events.on_tick, function(event) local status, err = pcall(evogui.update_gui) if err then evogui.log({"err_generic", "on_tick", err}) end end) -game.on_event(defines.events.on_gui_click, function(event) +script.on_event(defines.events.on_gui_click, function(event) if evogui.on_click[event.element.name] ~= nil then local status, err = pcall(evogui.on_click[event.element.name], event) if err then diff --git a/info.json b/info.json index 5e3a1d9..3e23eac 100644 --- a/info.json +++ b/info.json @@ -6,5 +6,5 @@ "contact": "factorio-mods@narc.ro", "homepage": "https://github.com/narc0tiq/evoGUI/", "description": "Places an indicator on your UI telling you the current biter evolution factor (as a percentage). It also tells you how long you've been playing.", - "dependencies": ["base >= 0.12.7"] + "dependencies": ["base >= 0.12.11"] }