unknown-horizons/unknown-horizons — pull request #2262 by myrdd (2014-03-01 10:44:13+00:00)
Title: now WindowManager is responsible for pause/resume game when windows are opened/closed

This resolves bug #2211 (Game resumes after entering dialogs spawned by game menu)
When WindowManager._session is not None, the game is paused when any window is opened.
When WindowManager._session is None, nothing happens.