Upstream fixes (#663)

* fix weird name saving

* fix item status

* Fix single-user BUIs erroneously closing (#28375)

(cherry picked from commit 08952b467d9b2b2db85cb9ebb4e8b628c0145716)

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
ThereDrD
2024-08-24 12:36:43 +03:00
committed by GitHub
parent 63b816b83b
commit dba9565865
6 changed files with 35 additions and 17 deletions

View File

@@ -526,6 +526,7 @@ namespace Content.Client.Preferences.UI
_controller.UpdateProfile(Profile);
_controller.ReloadCharacterUI();
IsDirty = true;
}
@@ -1308,7 +1309,7 @@ namespace Content.Client.Preferences.UI
private void SetBodyType(string newBodyType)
{
Profile = Profile?.WithBodyType(newBodyType);
IsDirty = true;
SetDirty();
_needUpdatePreview = true;
}