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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user