feito fork de mff/3d_armor_classes
Fix stamina bar not reset correctly
Esse commit está contido em:
2
init.lua
2
init.lua
@@ -35,7 +35,7 @@ local function change_stamina_max(player, value)
|
||||
if val > new_max then
|
||||
player:get_meta():set_float("hbsprint:stamina", new_max)
|
||||
hb.change_hudbar(player, "stamina", new_max, new_max)
|
||||
elseif val < new_max then
|
||||
elseif val <= new_max then
|
||||
hb.unhide_hudbar(player, "stamina")
|
||||
hb.change_hudbar(player, "stamina", nil, new_max)
|
||||
end
|
||||
|
Referência em uma nova issue
Block a user