Actually save when pressing "save and close" (#523)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
511741d11a
commit
1bd17f73b1
@@ -198,6 +198,7 @@ namespace Content.Client.GameTicking
|
||||
LayoutContainer.SetAnchorPreset(_characterSetup, LayoutContainer.LayoutPreset.Wide);
|
||||
_characterSetup.CloseButton.OnPressed += args =>
|
||||
{
|
||||
_characterSetup.Save();
|
||||
_lobby.CharacterPreview.UpdateUI();
|
||||
_userInterfaceManager.StateRoot.AddChild(_lobby);
|
||||
_userInterfaceManager.StateRoot.RemoveChild(_characterSetup);
|
||||
|
||||
Reference in New Issue
Block a user