From 9bc6159853a6362b579025898f19822c6be9df9a Mon Sep 17 00:00:00 2001 From: Doublechest Date: Wed, 17 Jul 2024 14:37:12 +0300 Subject: [PATCH] Revert "jedi nt spawn fix" This reverts commit 557ee92e5bb0119d5076a06000835bd8ea5ae9bb. --- Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs b/Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs index a4830669dc..be555dd54a 100644 --- a/Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs +++ b/Content.Server/Spawners/EntitySystems/SpawnPointSystem.cs @@ -51,9 +51,9 @@ private void OnPlayerSpawning(PlayerSpawningEvent args) // TODO: Refactor gameticker spawning code so we don't have to do this! var points2 = EntityQueryEnumerator(); - if (points2.MoveNext(out var spawnPointUid, out var spawnPoint, out var xform)) // Stories + if (points2.MoveNext(out var spawnPoint, out var xform)) { - if (spawnPoint.SpawnType == SpawnPointType.LateJoin && _stationSystem.GetOwningStation(spawnPointUid, xform) == args.Station) possiblePositions.Add(xform.Coordinates); // Stories. Лучше спавнить в позднем присоед., чем вообще в любой точке. + possiblePositions.Add(xform.Coordinates); } else {