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

Merge pull request #1163 from Nordsoft91/fix-camp-multiclick

Prevent multiple clicking for start campaign
This commit is contained in:
Andrii Danylchenko
2022-11-27 09:25:05 +02:00
committed by GitHub

View File

@@ -433,6 +433,11 @@ void CBonusSelection::startMap()
exitCb();
}
};
//block buttons immediately
buttonStart->block(true);
buttonRestart->block(true);
buttonBack->block(true);
if(LOCPLINT) // we're currently ingame, so ask for starting new map and end game
{