diff --git a/Assets/Scripts/Game/UserInterface/HUDVitals.cs b/Assets/Scripts/Game/UserInterface/HUDVitals.cs index b27b9af461..fdbac66deb 100644 --- a/Assets/Scripts/Game/UserInterface/HUDVitals.cs +++ b/Assets/Scripts/Game/UserInterface/HUDVitals.cs @@ -4,8 +4,8 @@ // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original Author: Gavin Clayton (interkarma@dfworkshop.net) -// Contributors: -// +// Contributors: +// // Notes: // @@ -91,7 +91,7 @@ public HUDVitals() HorizontalAlignment = HorizontalAlignment.Left; VerticalAlignment = VerticalAlignment.Bottom; SetMargins(Margins.All, borderSize); - + healthBar.VerticalAlignment = VerticalAlignment.Bottom; fatigueBar.VerticalAlignment = VerticalAlignment.Bottom; magickaBar.VerticalAlignment = VerticalAlignment.Bottom; @@ -318,7 +318,7 @@ private void VitalsDetector_FatigueChanged(object sender, System.EventArgs e) return; } - fatigueBar.Amount = playerEntity.CurrentFatigue / (float)playerEntity.MaxFatigue; + fatigueBarGain.Amount = playerEntity.CurrentFatigue / (float)playerEntity.MaxFatigue; // if there's any change in fatigue... if (vitalsDetector.FatigueLost != 0)