summaryrefslogtreecommitdiff
path: root/core/event_queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/event_queue.cpp')
-rw-r--r--core/event_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/event_queue.cpp b/core/event_queue.cpp
index 53638c5431..958ef41132 100644
--- a/core/event_queue.cpp
+++ b/core/event_queue.cpp
@@ -92,7 +92,7 @@ Error EventQueue::push_call(uint32_t p_instance_ID, const StringName& p_method,
*v=p_arg5;
}
- if (buffer_max_used>buffer_end);
+ if (buffer_end > buffer_max_used)
buffer_max_used=buffer_end;
return OK;