Merge pull request #502 from AttorneyOnline/fix/blankpost-queue

Fix blankposting forcing the message queue to sleep up until another message is received
This commit is contained in:
oldmud0 2021-03-21 19:12:18 -05:00 committed by GitHub
commit 94e55e70a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3231,6 +3231,10 @@ void Courtroom::start_chat_ticking()
ui_vp_chatbox->show();
ui_vp_message->show();
}
// If we're not already waiting on the next message, start the timer. We could be overriden if there's an objection planned.
int delay = ao_app->stay_time();
if (delay > 0 && !text_queue_timer->isActive())
text_queue_timer->start(delay);
return;
}