Update CP14ExpeditionSystem.cs

This commit is contained in:
Ed
2024-10-15 15:28:16 +03:00
parent dc47bb2283
commit 31d39b36ae

View File

@@ -130,7 +130,7 @@ public sealed class CP14ExpeditionSystem : EntitySystem
var possiblePositions = new List<EntityCoordinates>();
while (points.MoveNext(out var uid, out var spawnPoint, out var xform))
{
if (ev.Job != null && spawnPoint.Job != ev.Job.Prototype)
if (ev.Job != null && spawnPoint.Job != ev.Job.Value)
continue;
if (xform.GridUid != gridUid)