fix Luacheck: mods/beds/functions.lua:189:3: unreachable code

This commit is contained in:
nixnoxus 2021-07-30 18:39:26 +02:00
parent 6e975655bb
commit 8d0a931a1a
1 changed files with 4 additions and 5 deletions

View File

@ -185,11 +185,10 @@ local function update_formspecs(force_morning)
end
end
if false then -- debug code disabled
form_n = form_n .. " " .. "label[2.2,8;" .. esc(tod*24) ..
" loop:" .. update_formspecs_loops ..
"]";
end
-- debug code disabled
--form_n = form_n .. " " .. "label[2.2,8;" .. esc(tod*24) ..
-- " loop:" .. update_formspecs_loops ..
-- "]";
for name,_ in pairs(beds.player) do
minetest.show_formspec(name, "beds_form", form_n)