diff options
| author | Crystalwarrior <varsash@gmail.com> | 2021-03-22 01:59:21 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2021-03-22 01:59:21 +0300 |
| commit | 106d9f3097bfbb85008b59d5d56470642a403682 (patch) | |
| tree | 42eb5ca7962af8739184dc5d9cc6405abe89ec8e | |
| parent | bddf6c67c2f6822f9f2b02b0c478bc0af71e1e8a (diff) | |
Fix blankposting forcing the message queue to sleep up until another message is received
| -rw-r--r-- | src/courtroom.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index fe5f74d1..754208ed 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -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; } |
