Remove debug code.
This commit is contained in:
parent
8a5835f21b
commit
0f474b90e4
@ -39,7 +39,6 @@ local function torchlife(expire)
|
||||
local life = (expire - nodecore.gametime) / nodecore.torch_life_base
|
||||
if life > 1 then return 1 end
|
||||
local stage = 1 - math_ceil(math_log(life) / log2)
|
||||
minetest.chat_send_all("life:" .. life .. " stage: " .. stage)
|
||||
if stage < 1 then return 1 end
|
||||
if stage > max then return max end
|
||||
return stage
|
||||
|
Loading…
x
Reference in New Issue
Block a user