diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-10-10 20:55:29 -0600 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-10-10 20:55:29 -0600 |
commit | 7ef5e3c892a2de2eb55345e41c37ee919da613fc (patch) | |
tree | 9da537e04e7b39233af27ecf8d8bca0138e76f2c | |
parent | a69a3f4edaabc20ab49c952be73437ca0501239d (diff) |
fix particle effect settings check
-rw-r--r-- | util_execute_cycle.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util_execute_cycle.lua b/util_execute_cycle.lua index fccac3d..29edcdb 100644 --- a/util_execute_cycle.lua +++ b/util_execute_cycle.lua @@ -315,7 +315,7 @@ digtron.execute_dig_cycle = function(pos, clicker) -- actually burn the fuel needed fuel_burning = fuel_burning - digging_fuel_cost - if digtron.particle_effects and exhaust == 1 then + if digtron.config.particle_effects and exhaust == 1 then table.insert(particle_systems, burn_smoke(pos, digging_fuel_cost)) end if fuel_burning < 0 then @@ -511,7 +511,7 @@ digtron.execute_downward_dig_cycle = function(pos, clicker) -- actually burn the fuel needed fuel_burning = fuel_burning - digging_fuel_cost - if digtron.particle_effects and exhaust == 1 then + if digtron.config.particle_effects and exhaust == 1 then table.insert(particle_systems, burn_smoke(pos, digging_fuel_cost)) end if fuel_burning < 0 then |