Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Update to Factorio 0.12.11
Browse files Browse the repository at this point in the history
Tiny update, barely tested. Closes #38.
  • Loading branch information
narc0tiq committed Oct 19, 2015
1 parent 333d330 commit 232d095
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.4
0.4.5
4 changes: 2 additions & 2 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"contact": "[email protected]",
"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"]
}

0 comments on commit 232d095

Please sign in to comment.