Fix crash when clicking UI early. Fixes #2196

This commit is contained in:
Henrik Rydgard committed 2013-06-10 23:47:49 +02:00
1 parent 4bc25c91d8
commit 062979d8d9
1 file changed
+2 -1
+2 -1
View File
@@ -483,7 +483,8 @@ bool NativeIsAtTopLevel() {
}
void NativeTouch(const TouchInput &touch) {
screenManager->touch(touch);
if (screenManager)
screenManager->touch(touch);
}
void NativeMessageReceived(const char *message, const char *value) {