From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:27:21 +0000 (-0500) Subject: Finally fix cryostorage duping (#24251) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ea299caff9143fe97eeb0873dada4e4fed8df3bd;p=space-station-14.git Finally fix cryostorage duping (#24251) --- diff --git a/Content.Server/Shuttles/Systems/ArrivalsSystem.cs b/Content.Server/Shuttles/Systems/ArrivalsSystem.cs index 64bc99f1bb..b257bb5b96 100644 --- a/Content.Server/Shuttles/Systems/ArrivalsSystem.cs +++ b/Content.Server/Shuttles/Systems/ArrivalsSystem.cs @@ -315,6 +315,9 @@ public sealed class ArrivalsSystem : EntitySystem private void OnPlayerSpawn(PlayerSpawningEvent ev) { + if (ev.SpawnResult != null) + return; + // Only works on latejoin even if enabled. if (!Enabled || _ticker.RunLevel != GameRunLevel.InRound) return;