mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Adjust content bootstrapping in zone [skip ci]
This commit is contained in:
parent
2b1b786f02
commit
423bb7f0b3
@ -776,7 +776,7 @@ RULE_BOOL(HotReload, QuestsResetTimersWithReload, true, "When a hot reload is tr
|
|||||||
RULE_CATEGORY_END()
|
RULE_CATEGORY_END()
|
||||||
|
|
||||||
RULE_CATEGORY(Expansion)
|
RULE_CATEGORY(Expansion)
|
||||||
RULE_INT(Expansion, CurrentExpansion, -1, "The current expansion enabled for the server [0 = Classic, 1 = Kunark etc.]")
|
RULE_INT(Expansion, CurrentExpansion, 0, "The current expansion enabled for the server [0 = Classic, 1 = Kunark etc.]")
|
||||||
RULE_CATEGORY_END()
|
RULE_CATEGORY_END()
|
||||||
|
|
||||||
#undef RULE_CATEGORY
|
#undef RULE_CATEGORY
|
||||||
|
|||||||
@ -395,7 +395,10 @@ int main(int argc, char** argv) {
|
|||||||
LogInfo("Initialized dynamic dictionary entries");
|
LogInfo("Initialized dynamic dictionary entries");
|
||||||
}
|
}
|
||||||
|
|
||||||
content_service.SetCurrentExpansion(RuleI(Expansion, CurrentExpansion));
|
int current_expansion = RuleI(Expansion, CurrentExpansion);
|
||||||
|
if (current_expansion >= Expansion::Classic && current_expansion <= Expansion::MaxId) {
|
||||||
|
content_service.SetCurrentExpansion(current_expansion);
|
||||||
|
}
|
||||||
|
|
||||||
LogInfo(
|
LogInfo(
|
||||||
"Current expansion is [{}] ({})",
|
"Current expansion is [{}] ({})",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user