From bcc915183bbd6570171e5e537d4fc720280ab347 Mon Sep 17 00:00:00 2001 From: FaDeOkno Date: Wed, 4 Sep 2024 18:37:34 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=98=20=D1=81=D1=82=D0=B0=D0=BD=D1=86?= =?UTF-8?q?=D0=B8=D0=B8=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D1=81?= =?UTF-8?q?=D0=BF=D0=B0=D0=B2=D0=BD=D0=B8=D1=82=D1=81=D1=8F=20=D0=BA=D0=BE?= =?UTF-8?q?=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Spawners/EntitySystems/ContainerSpawnPointSystem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Server/Spawners/EntitySystems/ContainerSpawnPointSystem.cs b/Content.Server/Spawners/EntitySystems/ContainerSpawnPointSystem.cs index a0efe021383..47780355c7e 100644 --- a/Content.Server/Spawners/EntitySystems/ContainerSpawnPointSystem.cs +++ b/Content.Server/Spawners/EntitySystems/ContainerSpawnPointSystem.cs @@ -49,8 +49,7 @@ public void HandlePlayerSpawning(PlayerSpawningEvent args, bool forceJob = false if (forceJob) { - if (spawnPoint.SpawnType == SpawnPointType.Job && - args.Job != null && + if (args.Job != null && spawnPoint.Job == args.Job.Prototype) { possibleContainers.Add((uid, spawnPoint, container, xform));