fixed graphical responsiveness of gadgets (mainly in editor)
[rocksndiamonds.git] / src / events.c
index 1afc85d65810bad65fe4cc07c31d36f648438b40..7a03f33ffd88cb2f6be5d0e7dad8332332ecc55f 100644 (file)
@@ -208,6 +208,9 @@ void EventLoop(void)
            HandleOtherEvents(&event);
            break;
        }
+
+       if (DelayReached(&sync_frame_delay, sync_frame_delay_value))
+         BackToFront();
       }
     }
     else