Fixed a bug that prevented the mod "knights and dragons" from starting.
This commit is contained in:
@@ -449,6 +449,7 @@ void GameStateMenu::ensureMGuiController()
|
||||
jq->SetColor(ARGB(abs(255),255,255,255));
|
||||
mFont = WResourceManager::Instance()->GetWFont(Fonts::OPTION_FONT);
|
||||
vector<ModRulesOtherMenuItem *>otherItems = gModRules.menu.other;
|
||||
if (otherItems.size()) {
|
||||
mGuiController->Add(NEW OtherMenuItem(
|
||||
otherItems[0]->mActionId,
|
||||
mFont, otherItems[0]->mDisplayName,
|
||||
@@ -458,6 +459,7 @@ void GameStateMenu::ensureMGuiController()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GameStateMenu::Update(float dt)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user