Fix spawn priority persistence on reconnect and restart (#25246)

Because of course I would forget one line
This commit is contained in:
Krunklehorn
2024-02-14 19:24:35 -05:00
committed by GitHub
parent f7d789e75d
commit 2f0c837816

View File

@@ -260,6 +260,7 @@ namespace Content.Server.Database
profile.SkinColor = appearance.SkinColor.ToHex(); profile.SkinColor = appearance.SkinColor.ToHex();
profile.Clothing = humanoid.Clothing.ToString(); profile.Clothing = humanoid.Clothing.ToString();
profile.Backpack = humanoid.Backpack.ToString(); profile.Backpack = humanoid.Backpack.ToString();
profile.SpawnPriority = (int) humanoid.SpawnPriority;
profile.Markings = markings; profile.Markings = markings;
profile.Slot = slot; profile.Slot = slot;
profile.PreferenceUnavailable = (DbPreferenceUnavailableMode) humanoid.PreferenceUnavailable; profile.PreferenceUnavailable = (DbPreferenceUnavailableMode) humanoid.PreferenceUnavailable;