mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-23 12:08:45 +02:00
Merge pull request #1163 from Nordsoft91/fix-camp-multiclick
Prevent multiple clicking for start campaign
This commit is contained in:
commit
f04bd02df1
@ -434,6 +434,11 @@ void CBonusSelection::startMap()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//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
|
if(LOCPLINT) // we're currently ingame, so ask for starting new map and end game
|
||||||
{
|
{
|
||||||
close();
|
close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user