| 150 | } |
| 151 | |
| 152 | void Chat::stopChat() { |
| 153 | if (m_scripted) |
| 154 | m_script.invoke("stopChat"); |
| 155 | else { |
| 156 | m_textBox->setText(""); |
| 157 | m_textBox->blur(); |
| 158 | m_timeChatLastActive = Time::monotonicMilliseconds(); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | String Chat::currentChat() const { |
| 163 | if (m_scripted) |
no test coverage detected