From 205401c4f5c38b09c7625a5e96a45783de47fba4 Mon Sep 17 00:00:00 2001 From: Blue Blancmange <> Date: Sat, 1 Apr 2023 18:07:49 +0100 Subject: [PATCH] last commit but without a typo --- mods/HUD/hudbars/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/hudbars/init.lua b/mods/HUD/hudbars/init.lua index 505d51a2d..c0b7da746 100644 --- a/mods/HUD/hudbars/init.lua +++ b/mods/HUD/hudbars/init.lua @@ -444,7 +444,7 @@ function hb.unhide_hudbar(player, identifier) if not player_exists(player) then return false end local name = player:get_player_name() local hudtable = hb.get_hudtable(identifier) - if hudtable == nil or hudtable.hudstates[name] == nil then return false end + if hudtable == nil or hudtable.hudstate[name] == nil then return false end if hudtable.hudstate[name].hidden == false then return true end local value = hudtable.hudstate[name].value local max = hudtable.hudstate[name].max