1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-13 11:40:38 +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
commit f04bd02df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
{