Clean comments

master
ezhh 2017-07-08 20:16:22 +01:00
parent 7dd9b59a9e
commit 21570ffa56
1 changed files with 0 additions and 7 deletions

View File

@ -113,13 +113,7 @@ minetest.register_globalstep(function(dtime)
local pos_y = pos.y
-- the middle of the block with the player's head
pos.y = math.floor(pos_y) + 1.5
-- local node = minetest.get_node(pos)
-- local light_now = minetest.get_node_light(pos) or 0
-- if node.name == 'ignore' then
-- can happen while world loads, set to something innocent
-- light_now = 9
-- end
local light_now = minetest.get_node_light(pos) or 9
local sanity = PPA.get_value(player, "bewarethedark_sanity")
@ -129,7 +123,6 @@ minetest.register_globalstep(function(dtime)
--print("Standing in " .. node.name .. " at light " .. light_now .. " taking " .. dps);
if dps ~= 0 then
sanity = sanity - dps
--print("New sanity "..sanity)
if sanity < 0.0 and minetest.setting_getbool("enable_damage") then