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,15 +427,17 @@ void CBonusSelection::startMap()
|
||||
if(scenario.prolog.hasPrologEpilog)
|
||||
{
|
||||
GH.pushIntT<CPrologEpilogVideo>(scenario.prolog, exitCb);
|
||||
buttonStart->block(true);
|
||||
buttonRestart->block(true);
|
||||
buttonBack->block(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user