mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -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
|
||||||
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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue