forked from mtcontrib/plantlife_modpack
turn debug on, get rid of a redundant variable
This commit is contained in:
parent
077c985388
commit
1f6695189b
@ -38,7 +38,7 @@ else
|
|||||||
S = function ( s ) return s end
|
S = function ( s ) return s end
|
||||||
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)
|
function plantslib:dbg(msg)
|
||||||
if DEBUG then
|
if DEBUG then
|
||||||
@ -373,7 +373,6 @@ function plantslib:generate_block_no_aircheck(dtime)
|
|||||||
|
|
||||||
else
|
else
|
||||||
if plantslib.actioncount_no_aircheck.blockhash <= #plantslib.actionslist_no_aircheck then
|
if plantslib.actioncount_no_aircheck.blockhash <= #plantslib.actionslist_no_aircheck then
|
||||||
local action = plantslib.actioncount_no_aircheck.blockhash
|
|
||||||
plantslib:populate_surfaces(
|
plantslib:populate_surfaces(
|
||||||
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][1],
|
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][1],
|
||||||
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][2],
|
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][2],
|
||||||
|
Loading…
Reference in New Issue
Block a user