fix bug in reporting of message queue size

This commit is contained in:
Juan Linietsky 2016-06-27 19:07:58 -03:00 committed by GitHub
parent efdcf205d2
commit 1f9812ab83
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ void MessageQueue::_call_function(Object* p_target, const StringName& p_func, co
void MessageQueue::flush() { void MessageQueue::flush() {
if (buffer_max_used<buffer_end); { if (buffer_end > buffer_max_used) {
buffer_max_used=buffer_end; buffer_max_used=buffer_end;
//statistics(); //statistics();
} }