Skip to content

Commit

Permalink
fix checkbox for Autorefuel not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Choumiko committed Apr 1, 2016
1 parent f5dbdab commit 8b6696e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ on_gui_click = {
return false
end,

refuel = function(option2)
refuel = function(player, option2)
option2 = tonumber(option2)
global.trains[option2].settings.autoRefuel = not global.trains[option2].settings.autoRefuel
end,
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SmartTrains",
"version": "0.3.80",
"version": "0.3.81",
"title": "Smarter Trains",
"author": "Choumiko",
"homepage": " ",
Expand Down

0 comments on commit 8b6696e

Please sign in to comment.