1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-16 20:50:20 +02:00

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

View File

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