diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-04 19:23:21 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-04 19:23:21 -0700 |
commit | 1ecb6964d9099d7314c3474c2a9c3caf8e6b40e6 (patch) | |
tree | 5fe4398b125ae164bdb38eb707d9314c1205b9bd /node_controllers.lua | |
parent | d545593f273430cb31966d6eb63aa44a229b76ef (diff) |
Builders no longer keep a real copy of the object they're "programmed" with. Also, add a "creative mode" configuration flag
Diffstat (limited to 'node_controllers.lua')
-rw-r--r-- | node_controllers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_controllers.lua b/node_controllers.lua index c66f252..4b66b71 100644 --- a/node_controllers.lua +++ b/node_controllers.lua @@ -180,7 +180,7 @@ local execute_cycle = function(pos, clicker) -- So this should never happen. However, "should never happens" happen sometimes. So -- don't interrupt the build cycle as a whole, we've already moved so might as well try to complete as much as possible. strange_failure = true - elseif build_return == true then + elseif build_return == true and not digtron.creative_mode == true then building_fuel_cost = building_fuel_cost + digtron.build_cost end else |