mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Warn for new squadron rules with old campaigns.
It's not feasible to actually check the parking limits because we can't identify parking limits for carriers until the theater is populated. Doing so is expensive (and depends on other NGW inputs). Instead, compare against the version of the campaign and guess. A new (minor) campaign version has been introduced which makes this required to improve the UI hint. Campaigns that are compatible with the new rules should update their version to advertise support. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2909.
This commit is contained in:
@@ -178,4 +178,8 @@ VERSION = _build_version_string()
|
||||
#:
|
||||
#: Version 10.8
|
||||
#: * Support for Normandy 2.
|
||||
CAMPAIGN_FORMAT_VERSION = (10, 8)
|
||||
#:
|
||||
#: Version 10.9
|
||||
#: * Campaign is compatible with new squadron rules. The default air wing configuration
|
||||
#: has enough parking available at each base when squadrons begin at full strength.
|
||||
CAMPAIGN_FORMAT_VERSION = (10, 9)
|
||||
|
||||
Reference in New Issue
Block a user