forked from mtcontrib/minetest_hbarmor
Fix Luacheck warnings
This commit is contained in:
parent
3d1b4b0a97
commit
a493641f02
5
init.lua
5
init.lua
@ -5,7 +5,7 @@ else
|
|||||||
S = function ( s ) return s end
|
S = function ( s ) return s end
|
||||||
end
|
end
|
||||||
|
|
||||||
hbarmor = {}
|
local hbarmor = {}
|
||||||
|
|
||||||
-- HUD statbar values
|
-- HUD statbar values
|
||||||
hbarmor.armor = {}
|
hbarmor.armor = {}
|
||||||
@ -13,9 +13,6 @@ hbarmor.armor = {}
|
|||||||
-- Stores if player's HUD bar has been initialized so far.
|
-- Stores if player's HUD bar has been initialized so far.
|
||||||
hbarmor.player_active = {}
|
hbarmor.player_active = {}
|
||||||
|
|
||||||
-- HUD item ids
|
|
||||||
local armor_hud = {}
|
|
||||||
|
|
||||||
-- Time difference in seconds between updates to the HUD armor bar.
|
-- Time difference in seconds between updates to the HUD armor bar.
|
||||||
-- Increase this number for slow servers.
|
-- Increase this number for slow servers.
|
||||||
hbarmor.tick = 0.1
|
hbarmor.tick = 0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user