mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
* some work on campaigns
This commit is contained in:
@@ -2026,10 +2026,7 @@ void CPlayerInterface::gameOver(ui8 player, bool victory )
|
||||
howManyPeople--;
|
||||
if(!howManyPeople) //all human players eliminated
|
||||
{
|
||||
if(cb->getStartInfo()->mode != StartInfo::CAMPAIGN)
|
||||
requestReturningToMainMenu();
|
||||
else
|
||||
requestStoppingClient();
|
||||
requestReturningToMainMenu();
|
||||
}
|
||||
cb->unregisterMyInterface(); //we already won/lost, nothing else matters
|
||||
}
|
||||
|
Reference in New Issue
Block a user