You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix: printing empty string does nothing in editor output pannel
Fix: #38490
This commit is contained in:
@@ -466,7 +466,7 @@ void RemoteDebugger::_print_handler(void *p_this, const String &p_string, bool p
|
|||||||
String s = p_string;
|
String s = p_string;
|
||||||
int allowed_chars = MIN(MAX(rd->max_chars_per_second - rd->char_count, 0), s.length());
|
int allowed_chars = MIN(MAX(rd->max_chars_per_second - rd->char_count, 0), s.length());
|
||||||
|
|
||||||
if (allowed_chars == 0)
|
if (allowed_chars == 0 && s.length() > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (allowed_chars < s.length()) {
|
if (allowed_chars < s.length()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user