From 1f9812ab835e97ff07f4abba23a7915e04d306c9 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 27 Jun 2016 19:07:58 -0300 Subject: [PATCH] fix bug in reporting of message queue size --- core/message_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/message_queue.cpp b/core/message_queue.cpp index c69021f4f00..f3daa46c3d0 100644 --- a/core/message_queue.cpp +++ b/core/message_queue.cpp @@ -320,7 +320,7 @@ void MessageQueue::_call_function(Object* p_target, const StringName& p_func, co void MessageQueue::flush() { - if (buffer_max_used buffer_max_used) { buffer_max_used=buffer_end; //statistics(); }