diff --git a/JotunnModStub/Aswid/AswidPatches.cs b/JotunnModStub/Aswid/AswidPatches.cs index 6e1609e..6f4be0a 100644 --- a/JotunnModStub/Aswid/AswidPatches.cs +++ b/JotunnModStub/Aswid/AswidPatches.cs @@ -505,6 +505,14 @@ namespace RacesOfValheim } return false; } + + // Vanilla switches the bar on once, when the HUD is built, and never again. Without + // this a player who left the Aswid or the Draugh had no stamina bar until relog. + if (player == Player.m_localPlayer && __instance.m_staminaBar2Root != null + && !__instance.m_staminaBar2Root.gameObject.activeSelf) + { + __instance.m_staminaBar2Root.gameObject.SetActive(true); + } return true; } }