fixed an issue where rainbowtext would not work when rejoining a server

This commit is contained in:
OmniTroid 2017-03-23 00:13:56 +01:00
parent 842b1a58e9
commit b627d66956
2 changed files with 1 additions and 2 deletions

View File

@ -1534,8 +1534,6 @@ void Courtroom::mod_called(QString p_ip)
void Courtroom::on_ooc_return_pressed() void Courtroom::on_ooc_return_pressed()
{ {
static bool rainbow_appended = false;
QString ooc_message = ui_ooc_chat_message->text(); QString ooc_message = ui_ooc_chat_message->text();
if (ooc_message == "" || ui_ooc_chat_name->text() == "") if (ooc_message == "" || ui_ooc_chat_name->text() == "")

View File

@ -128,6 +128,7 @@ private:
int blip_pos = 0; int blip_pos = 0;
int blip_rate = 1; int blip_rate = 1;
int rainbow_counter = 0; int rainbow_counter = 0;
bool rainbow_appended = false;
bool blank_blip = false; bool blank_blip = false;
//delay before chat messages starts ticking //delay before chat messages starts ticking