Skip to content

Commit

Permalink
Generate survey locations if none are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
behindcurtain3 committed Apr 12, 2024
1 parent 5babe52 commit 563e148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Pulsar4X/GameEngine/Engine/Factories/StarSystemFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,10 @@ public StarSystem LoadSystemFromJson(Game game, string folder)
}
JPSurveyFactory.GenerateJPSurveyPoints(system, ringSettings);
}
else
{
JPSurveyFactory.GenerateJPSurveyPoints(system);
}

// Go through all the created entities and set them to be neutral
foreach(var entity in system.GetAllEntites())
Expand Down

0 comments on commit 563e148

Please sign in to comment.