1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-05 09:50:27 +01:00

turn debug on, get rid of a redundant variable

This commit is contained in:
Vanessa Ezekowitz 2014-09-26 23:25:32 -04:00
parent 077c985388
commit 1f6695189b

View File

@ -38,7 +38,7 @@ else
S = function ( s ) return s end
end
local DEBUG = false --... except if you want to spam the console with debugging info :-)
local DEBUG = true --... except if you want to spam the console with debugging info :-)
function plantslib:dbg(msg)
if DEBUG then
@ -373,7 +373,6 @@ function plantslib:generate_block_no_aircheck(dtime)
else
if plantslib.actioncount_no_aircheck.blockhash <= #plantslib.actionslist_no_aircheck then
local action = plantslib.actioncount_no_aircheck.blockhash
plantslib:populate_surfaces(
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][1],
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][2],