aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--courtroom.cpp2
-rw-r--r--courtroom.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index 985a4fb..1a2eb7c 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -1534,8 +1534,6 @@ void Courtroom::mod_called(QString p_ip)
void Courtroom::on_ooc_return_pressed()
{
- static bool rainbow_appended = false;
-
QString ooc_message = ui_ooc_chat_message->text();
if (ooc_message == "" || ui_ooc_chat_name->text() == "")
diff --git a/courtroom.h b/courtroom.h
index 8beaeb6..54b0a37 100644
--- a/courtroom.h
+++ b/courtroom.h
@@ -128,6 +128,7 @@ private:
int blip_pos = 0;
int blip_rate = 1;
int rainbow_counter = 0;
+ bool rainbow_appended = false;
bool blank_blip = false;
//delay before chat messages starts ticking