1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-20 22:30:23 +02:00

remove debug statements

This commit is contained in:
Tim
2015-08-19 17:09:29 +02:00
parent 7402f30c3a
commit 2d433f9652
7 changed files with 0 additions and 15 deletions

View File

@ -42,7 +42,6 @@ homedecor.register("desk_fan", {
local entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
local meta = minetest.get_meta(pos)
meta:set_string("active", "no")
print (meta:get_string("active"))
if entity_remove[1] == nil then
minetest.add_entity({x=pos.x, y=pos.y, z=pos.z}, "homedecor:mesh_desk_fan") --+(0.0625*10)
entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
@ -62,10 +61,8 @@ homedecor.register("desk_fan", {
local speedy_meta = minetest.get_meta(pos)
if speedy_meta:get_string("active") == "no" then
speedy_meta:set_string("active", "yes")
print (speedy_meta:get_string("active"))
elseif speedy_meta:get_string("active") == "yes" then
speedy_meta:set_string("active", "no")
print (speedy_meta:get_string("active"))
end
if entity_anim[1] == nil then