mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Merge pull request #2447 from IvanSavenko/modding_handler_refactoring
(develop) Modding handler refactoring
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
#include "../../CCallback.h"
|
||||
|
||||
#include "../CGameInfo.h"
|
||||
#include "../../lib/CModHandler.h"
|
||||
#include "../../lib/NetPacksLobby.h"
|
||||
#include "../../lib/CGeneralTextHandler.h"
|
||||
#include "../../lib/campaign/CampaignHandler.h"
|
||||
#include "../../lib/mapping/CMapInfo.h"
|
||||
#include "../../lib/modding/ModIncompatibility.h"
|
||||
#include "../../lib/rmg/CMapGenOptions.h"
|
||||
|
||||
CLobbyScreen::CLobbyScreen(ESelectionScreen screenType)
|
||||
@@ -132,7 +132,7 @@ void CLobbyScreen::startScenario(bool allowOnlyAI)
|
||||
CSH->sendStartGame(allowOnlyAI);
|
||||
buttonStart->block(true);
|
||||
}
|
||||
catch(CModHandler::Incompatibility & e)
|
||||
catch(ModIncompatibility & e)
|
||||
{
|
||||
logGlobal->warn("Incompatibility exception during start scenario: %s", e.what());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user