mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Fix debugging on the android editor.
This commit is contained in:
parent
c978f27634
commit
6c70361a07
@ -429,7 +429,12 @@ void ScriptDebuggerRemote::_poll_messages() {
|
||||
Thread::ID thread = cmd[1];
|
||||
|
||||
if (!incoming_messages.has(thread)) {
|
||||
continue; // This thread is not around to receive the messages
|
||||
if (thread != Thread::get_main_id()) {
|
||||
continue; // This thread is not around to receive the messages
|
||||
} else {
|
||||
incoming_messages.insert(Thread::get_main_id(), List<Message>());
|
||||
outgoing_messages.insert(Thread::get_main_id(), List<Message>());
|
||||
}
|
||||
}
|
||||
|
||||
Message msg;
|
||||
|
Loading…
Reference in New Issue
Block a user