Merge pull request #98379 from timothyqiu/alien-thread

Translate main thread name in the editor instead of running project
This commit is contained in:
Thaddeus Crews 2025-03-10 10:01:11 -05:00
commit 7d46e7d011
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 5 additions and 2 deletions

View file

@ -419,7 +419,7 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) {
msg.push_back(error_str);
ERR_FAIL_NULL(script_lang);
msg.push_back(script_lang->debug_get_stack_level_count() > 0);
msg.push_back(Thread::get_caller_id() == Thread::get_main_id() ? String(RTR("Main Thread")) : itos(Thread::get_caller_id()));
msg.push_back(Thread::get_caller_id());
if (allow_focus_steal_fn) {
allow_focus_steal_fn();
}