From 1f6695189b008850000cd8255ce7cc15099cd710 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 26 Sep 2014 23:25:32 -0400 Subject: [PATCH] turn debug on, get rid of a redundant variable --- plants_lib/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plants_lib/init.lua b/plants_lib/init.lua index f4e870a..a3854eb 100644 --- a/plants_lib/init.lua +++ b/plants_lib/init.lua @@ -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],