mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Move buttons blocks at proper place
This commit is contained in:
parent
ebb65b5d0e
commit
41e652dad2
@ -427,9 +427,6 @@ void CBonusSelection::startMap()
|
||||
if(scenario.prolog.hasPrologEpilog)
|
||||
{
|
||||
GH.pushIntT<CPrologEpilogVideo>(scenario.prolog, exitCb);
|
||||
buttonStart->block(true);
|
||||
buttonRestart->block(true);
|
||||
buttonBack->block(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -437,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
|
||||
{
|
||||
close();
|
||||
|
Loading…
Reference in New Issue
Block a user