diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml index 636aaa4dfa70..70876bcd7d3f 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml @@ -146,7 +146,7 @@ - + diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs index 642ab0da29fd..f786ffb5b086 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs @@ -439,7 +439,7 @@ public HumanoidProfileEditor( #region TeleportAfkToCryoStorage - TabContainer.SetTabTitle(5, Loc.GetString("humanoid-profile-edtior-afkPreferences-tab")); + TabContainer.SetTabTitle(5, Loc.GetString("humanoid-profile-editor-afkPreferences-tab")); //ss220 loc fix CTeleportAfkToCryoStorage.Pressed = Profile?.TeleportAfkToCryoStorage ?? true; CTeleportAfkToCryoStorage.OnToggled += args => SetTeleportAfkToCryoStorage(args.Pressed); @@ -1249,6 +1249,7 @@ private void SetName(string newName) private void SetTeleportAfkToCryoStorage(bool newTeleportAfkToCryoStorage) { Profile = Profile?.WithTeleportAfkToCryoStorage(newTeleportAfkToCryoStorage); + SetDirty(); // ss220 cryo button fix } private void SetSpawnPriority(SpawnPriorityPreference newSpawnPriority) diff --git a/Content.Shared/Preferences/HumanoidCharacterProfile.cs b/Content.Shared/Preferences/HumanoidCharacterProfile.cs index 2a87429e9470..20dcfd09a847 100644 --- a/Content.Shared/Preferences/HumanoidCharacterProfile.cs +++ b/Content.Shared/Preferences/HumanoidCharacterProfile.cs @@ -497,6 +497,7 @@ public bool MemberwiseEquals(ICharacterProfile maybeOther) if (Gender != other.Gender) return false; if (Species != other.Species) return false; if (PreferenceUnavailable != other.PreferenceUnavailable) return false; + if (TeleportAfkToCryoStorage != other.TeleportAfkToCryoStorage) return false; //ss220 cryo button save fix if (SpawnPriority != other.SpawnPriority) return false; if (!_jobPriorities.SequenceEqual(other._jobPriorities)) return false; if (!_antagPreferences.SequenceEqual(other._antagPreferences)) return false; diff --git a/Resources/Locale/ru-RU/preferences/ui/humanoid-profile-editor.ftl b/Resources/Locale/ru-RU/preferences/ui/humanoid-profile-editor.ftl index 86aa232d6b5a..4af5d9ca1764 100644 --- a/Resources/Locale/ru-RU/preferences/ui/humanoid-profile-editor.ftl +++ b/Resources/Locale/ru-RU/preferences/ui/humanoid-profile-editor.ftl @@ -51,8 +51,8 @@ humanoid-profile-editor-job-priority-never-button = Никогда humanoid-profile-editor-naming-rules-warning = Внимание: Оскорбительные или странные имена и описания могут повлечь за собой беседу с администрацией. Прочитайте \[Правила\]. humanoid-profile-editor-markings-tab = Черты внешности humanoid-profile-editor-flavortext-tab = Описание -humanoid-profile-edtior-afkPreferences-tab = ССД -humanoid-profile-edtior-afkPreferences-teleport-to-cryo-storage = Телепортация в крио хранилище при длительном ССД +humanoid-profile-editor-afkPreferences-tab = ССД +humanoid-profile-editor-afkPreferences-teleport-to-cryo-storage = Телепортация в крио хранилище при длительном ССД humanoid-profile-editor-traits-tab = Черты персонажа humanoid-profile-editor-no-traits = Нет доступных черт humanoid-profile-editor-trait-count-hint = Доступно очков: [{ $current }/{ $max }]