CFrame: Ignore "Pause on Focus Lost" when not started.

This commit is contained in:
Jules Blok 2015-07-22 19:30:19 +02:00
parent caa2f15105
commit 703b1e8654

View File

@ -1141,7 +1141,7 @@ void CFrame::OnMouse(wxMouseEvent& event)
void CFrame::OnFocusChange(wxFocusEvent& event)
{
if (SConfig::GetInstance().m_PauseOnFocusLost)
if (SConfig::GetInstance().m_PauseOnFocusLost && Core::IsRunningAndStarted())
{
if (RendererHasFocus())
{