1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #2456 from IvanSavenko/outdated_extras_workaround

Added workaround for running game with outdated extras mod from 1.2
This commit is contained in:
Ivan Savenko
2023-08-02 21:27:10 +03:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ BattleWindow::BattleWindow(BattleInterface & owner):
REGISTER_BUILDER("battleConsole", &BattleWindow::buildBattleConsole);
const JsonNode config(ResourceID("config/widgets/BattleWindow.json"));
const JsonNode config(ResourceID("config/widgets/BattleWindow2.json"));
addShortcut(EShortcut::GLOBAL_OPTIONS, std::bind(&BattleWindow::bOptionsf, this));
addShortcut(EShortcut::BATTLE_SURRENDER, std::bind(&BattleWindow::bSurrenderf, this));