[Rules] Add option rule to load AA based on CurrentExpansion rule (#1758)

* Add option rule to load AA based on CurrentExpansion rule

* Default UseCurrentExpansionAAOnly to true

* Only clear the PlayerAA when reloadingAA
This commit is contained in:
Natedog2012
2021-11-14 19:54:45 -06:00
committed by GitHub
parent 76b0183a0f
commit 6400e2f8bc
4 changed files with 25 additions and 4 deletions
+1
View File
@@ -764,6 +764,7 @@ RULE_CATEGORY_END()
RULE_CATEGORY(Expansion)
RULE_INT(Expansion, CurrentExpansion, -1, "The current expansion enabled for the server [-1 = ALL, 0 = Classic, 1 = Kunark etc.]")
RULE_BOOL(Expansion, UseCurrentExpansionAAOnly, true, "When true will only load AA ranks that match CurrentExpansion rule")
RULE_CATEGORY_END()
RULE_CATEGORY(Instances)