]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix loadouts UI not refreshing on char change (#27075)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 18 Apr 2024 03:01:12 +0000 (13:01 +1000)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2024 03:01:12 +0000 (13:01 +1000)
I love lobby code. Refreshing the entire jobs UI doesn't seem to cause issues. At least jobpriorityselector was my fault when I was far fucking stupider writing this shit.

Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

index 59a44d0e4bfabff4fec179308bbc2e62e932e550..213eb0b6628a1f2768bc1d765b5b59ecfed60890 100644 (file)
@@ -1115,6 +1115,7 @@ namespace Content.Client.Preferences.UI
             UpdateEyePickers();
             UpdateSaveButton();
             UpdateLoadouts();
+            UpdateRoleRequirements();
             UpdateJobPriorities();
             UpdateAntagPreferences();
             UpdateTraitPreferences();