Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ public List<WayPoint> GetOutpostSpawnpoints()
return WayPoint.WayPointList.FindAll(wp =>
wp.SpawnType == SpawnType.Human &&
wp.Submarine == Level.Loaded.StartOutpost &&
wp.CurrentHull != null &&
Copy link
Collaborator

@evilfactory evilfactory Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will throw a null reference exception if wp.CurrentHull is null because of the check below

wp.CurrentHull.OutpostModuleTags.Contains("airlock".ToIdentifier()));
}

Expand Down