Don't pause timer in thunderbird phase when in offline game
And don't show the dialog at all in network game when thunderbird phase
This commit is contained in:
parent
93d1b9136d
commit
969b56844b
@ -1294,7 +1294,9 @@ void World::unpause()
|
||||
//-----------------------------------------------------------------------------
|
||||
void World::escapePressed()
|
||||
{
|
||||
new RacePausedDialog(0.8f, 0.6f);
|
||||
if (!(NetworkConfig::get()->isNetworking() &&
|
||||
getPhase() < RACE_PHASE))
|
||||
new RacePausedDialog(0.8f, 0.6f);
|
||||
} // escapePressed
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -391,10 +391,12 @@ void WorldStatus::updateTime(int ticks)
|
||||
break;
|
||||
}
|
||||
case FINISH_PHASE:
|
||||
case IN_GAME_MENU_PHASE:
|
||||
// Nothing to do here.
|
||||
break;
|
||||
case GOAL_PHASE:
|
||||
// Nothing to do here as well.
|
||||
break;
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user