Fixed game not being unpaused if you leave code battle without starting, closes #679
parent
254891d8f1
commit
d06516507a
|
@ -401,6 +401,12 @@ void CRobotMain::ChangePhase(Phase phase)
|
|||
{
|
||||
m_playerProfile->IncrementLevelTryCount(m_levelCategory, m_levelChap, m_levelRank);
|
||||
}
|
||||
|
||||
if (m_userPause != nullptr)
|
||||
{
|
||||
m_pause->DeactivatePause(m_userPause);
|
||||
m_userPause = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
if (phase == PHASE_WIN) // wins a simulation?
|
||||
|
|
Loading…
Reference in New Issue