Fix prisoners spawning at latejoin cryopods (#743)

This commit is contained in:
Debug 2024-01-31 10:42:57 +01:00 committed by GitHub
parent a80ed207c4
commit 4414a65301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ public sealed class ContainerSpawnPointSystem : EntitySystem
if (args.SpawnResult != null)
return;
// DeltaV - Prevent spawnpoint overrides from being ignored
if (args.DesiredSpawnPointType != null && args.DesiredSpawnPointType != SpawnPointType.Unset)
return;
var query = EntityQueryEnumerator<ContainerSpawnPointComponent, ContainerManagerComponent, TransformComponent>();
var possibleContainers = new List<Entity<ContainerSpawnPointComponent, ContainerManagerComponent, TransformComponent>>();