Client can now connect to servers interactively
This commit is contained in:
@@ -1083,9 +1083,11 @@ void World::close_lthread_state() {
|
||||
// send the output to std::cerr.
|
||||
if (lthread_prints_ != nullptr) {
|
||||
const eng::string &output = lthread_prints_->str();
|
||||
Tangible *actor = tangible_get(lthread_actor_id_);
|
||||
if (actor != nullptr) {
|
||||
actor->print_buffer_.add_string(output, is_authoritative());
|
||||
if (output.size() > 0) {
|
||||
Tangible *actor = tangible_get(lthread_actor_id_);
|
||||
if (actor != nullptr) {
|
||||
actor->print_buffer_.add_string(output, is_authoritative());
|
||||
}
|
||||
}
|
||||
}
|
||||
// Now clean up everything.
|
||||
|
||||
Reference in New Issue
Block a user