Silenced the power radiator.

This commit is contained in:
kpoppel 2013-07-02 22:45:08 +02:00
parent 7201aeb6ba
commit c7207a9cba
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ minetest.register_abm(
elseif meta1:get_string("has_supply") == pos.x..pos.y..pos.z then
-- The appliance has power from this node. Spend power if it is on.
used_charge = math.floor(used_charge+meta1:get_int("EU_charge")/eff_factor)
print("My Lamp ("..pos.x..","..pos.y..","..pos.z..") Used:"..used_charge)
--print("My Lamp ("..pos.x..","..pos.y..","..pos.z..") Used:"..used_charge)
end
meta:set_string("infotext", "Power Radiator is powered ("..math.floor(used_charge/max_charge*100).."% of maximum power)");
if used_charge == 0 then