When you 'invoke' lua code, it creates coroutine

This commit is contained in:
2021-11-30 12:39:09 -05:00
parent 742209988b
commit 5db5a8b06f
6 changed files with 81 additions and 48 deletions

View File

@@ -239,7 +239,9 @@ public:
// Channel print statements.
if (print_channeler_.channel(world_->get_printbuffer(actor_id_), stdostream())) {
send_invocation(print_channeler_.invocation(actor_id_));
if (channel_ != nullptr) {
send_invocation(print_channeler_.invocation(actor_id_));
}
}
}
};