From: Krunklehorn <42424291+Krunklehorn@users.noreply.github.com> Date: Thu, 15 Feb 2024 00:24:35 +0000 (-0500) Subject: Fix spawn priority persistence on reconnect and restart (#25246) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=2f0c837816589b24b1548eafa278e28340577eb3;p=space-station-14.git Fix spawn priority persistence on reconnect and restart (#25246) Because of course I would forget one line --- diff --git a/Content.Server/Database/ServerDbBase.cs b/Content.Server/Database/ServerDbBase.cs index 5365bfb05b..27ccb6ee0e 100644 --- a/Content.Server/Database/ServerDbBase.cs +++ b/Content.Server/Database/ServerDbBase.cs @@ -260,6 +260,7 @@ namespace Content.Server.Database profile.SkinColor = appearance.SkinColor.ToHex(); profile.Clothing = humanoid.Clothing.ToString(); profile.Backpack = humanoid.Backpack.ToString(); + profile.SpawnPriority = (int) humanoid.SpawnPriority; profile.Markings = markings; profile.Slot = slot; profile.PreferenceUnavailable = (DbPreferenceUnavailableMode) humanoid.PreferenceUnavailable;