From 8ad53ce3278498dbdf38e4437a83536e240a1408 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sun, 19 Jun 2016 22:18:03 +0200 Subject: [PATCH] Fixed pause blur in main menu --- src/level/robotmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp index d0f29ef6..86d1d168 100644 --- a/src/level/robotmain.cpp +++ b/src/level/robotmain.cpp @@ -1554,6 +1554,8 @@ char* CRobotMain::GetDisplayInfoName(int index) //! Beginning of a dialogue during the game void CRobotMain::StartSuspend() { + if (!IsPhaseWithWorld(m_phase)) return; + m_sound->MuteAll(true); ClearInterface(); m_suspend = m_pause->ActivatePause(PAUSE_ENGINE|PAUSE_HIDE_SHORTCUTS|PAUSE_MUTE_SOUND|PAUSE_CAMERA);