Mouse always unlocked on game start and on disconnecting (i.e when menu shows).

This commit is contained in:
William Moberg
2016-03-10 12:46:06 +01:00
parent f26b24ef6b
commit bdcb33d992
5 changed files with 28 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@ EditorSystem::EditorSystem(SystemParams params, IRenderer* renderer, RenderFrame
Enable();
} else {
Disable();
m_EventBroker->Publish(Events::UnlockMouse());
}
}