mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
fix Luacheck: mods/beds/functions.lua:189:3: unreachable code
This commit is contained in:
parent
6e975655bb
commit
8d0a931a1a
1 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue