Fix the game state of when dialogs should be popped up.

This commit is contained in:
gl3nn 2014-01-18 02:28:22 +01:00
parent ca8d9560b7
commit 27a28514e7

View File

@ -837,7 +837,7 @@ namespace GUIEngine
{
widget->update(dt);
}
DialogQueue::get()->update();
if (state == GUIEngine::MENU) DialogQueue::get()->update();
}
// Hack : on the first frame, irrlicht processes all events that have been queued