print für Beleuchtung entfernt

This commit is contained in:
N-Nachtigal 2025-05-17 00:35:25 +02:00
parent b11e64dc91
commit e7645111ca
3 changed files with 3 additions and 2 deletions

View file

@ -542,7 +542,7 @@ minetest.register_globalstep(function(dtime)
local exe_time = (os.clock() - t)
total_wield_time = total_wield_time + mf(exe_time * 1000)
total_wield_step_count = total_wield_step_count + 1
print("Av wielded cozy light step time " .. mf(total_wield_time/total_wield_step_count) .. " ms. Sample of: "..total_wield_step_count)
--print("Av wielded cozy light step time " .. mf(total_wield_time/total_wield_step_count) .. " ms. Sample of: "..total_wield_step_count)
if cozylights.crispy_potato and exe_time > wield_step then
cozylights:set_wielded_light_radius(cozylights.max_wield_light_radius - 1)
minetest.chat_send_all("wield light step was adjusted to "..(exe_time*2).." secs to help crispy potato.")