Added a new setting: "Maximum frontline length (km)"

It replaces the FRONTLINE_LENGTH constant, which was used previously. The default setting for the frontline length has been set to match the FRONTLINE_LENGTH value (80 km), but I feel the default should be a bit shorter. Discussion on the topic would be welcome.
This commit is contained in:
MetalStormGhost
2022-04-16 11:26:21 +03:00
committed by Raffson
parent 96a5a8e2ef
commit e1bf0ed47a
9 changed files with 36 additions and 19 deletions

View File

@@ -84,7 +84,7 @@ class VisualsGenerator:
heading,
distance,
) = FrontLineConflictDescription.frontline_vector(
front_line, self.game.theater
front_line, self.game.theater, self.game.settings
)
if not plane_start:
continue