update changelog and fix typing

This commit is contained in:
Eclipse/Druss99 2025-01-27 19:25:42 -05:00 committed by Raffson
parent 5fc967cfd2
commit 60bfde3b61
2 changed files with 8 additions and 1 deletions

View File

@ -47,6 +47,11 @@
* **[New Game Wizard]** Ability to save an edited faction during new game creation
* **[Options]** New option to make AI helicopters prefer vertical takeoff and landing
* **[Campaign Design/Mission Generation]** Introduction of "rebel zones" which randomly spawn units according to the campaign's definitions.
* **[Mission Generation]** Missile sites now fire at random times instead of all at the beginning of the mission
* **[Modding]** Support for CurrentHill's Chinese Asset Pack (v1.1.4)
* **[Modding]** Updated support for CurrentHill's Swedish Asset Pack (v1.1.0)
* **[Modding]** Support for CurrentHill's Russian Asset Pack (v1.2.0)
* **[Modding]** Support for CurrentHill's USA Asset Pack (v1.1.5)
## Fixes
* **[UI/UX]** A-10A flights can be edited again

View File

@ -503,7 +503,9 @@ class MissileSiteGenerator(GroundObjectGenerator):
hold.stop_after_duration(
random.randint(
60,
self.game.settings.desired_player_mission_duration.total_seconds(),
int(
self.game.settings.desired_player_mission_duration.total_seconds()
),
)
)
vg.points[0].add_task(hold)