Spaces around operators

This commit is contained in:
rubenwardy 2014-05-02 18:42:25 +01:00
parent 89dc2b074f
commit 8c20ca2f3c

View File

@ -122,12 +122,9 @@ awards.register_achievement("award_burn",{
}) })
awards.register_onDeath(function(player,data) awards.register_onDeath(function(player,data)
print ("running on death function")
local pos = player:getpos() local pos = player:getpos()
if pos and minetest.find_node_near(pos, 1, "fire:basic_flame") ~= nil then
if pos and minetest.env:find_node_near(pos, 1, "fire:basic_flame")~=nil then
return "award_burn" return "award_burn"
end end
return nil return nil
end) end)