fix luacheck
This commit is contained in:
parent
a1bce09e42
commit
eb7b70d190
9
hud.lua
9
hud.lua
|
@ -37,7 +37,6 @@ minetest.register_globalstep(function(dtime)
|
|||
else
|
||||
faction_info = table.concat(area.faction_open, ", ")
|
||||
end
|
||||
|
||||
if changed then
|
||||
areas:save()
|
||||
end
|
||||
|
@ -93,14 +92,6 @@ minetest.register_on_leaveplayer(function(player)
|
|||
areas.hud[player:get_player_name()] = nil
|
||||
end)
|
||||
|
||||
local function tablefind(tab,el)
|
||||
for index, value in pairs(tab) do
|
||||
if value == el then
|
||||
return index
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_chatcommand("area_hud_hide", {
|
||||
params = "",
|
||||
description = S("Show or hide the area HUD element"),
|
||||
|
|
Loading…
Reference in New Issue