mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes OOC colour in whitemode, and OOC pings (#5127)
This commit is contained in:
@@ -79,7 +79,11 @@ GLOBAL_VAR_INIT(mentor_ooc_colour, YOGS_MENTOR_OOC_COLOUR) // yogs - mentor ooc
|
|||||||
while(ping.Find(msg))
|
while(ping.Find(msg))
|
||||||
for(var/x in ping.group)
|
for(var/x in ping.group)
|
||||||
pinged |= ckey(x)
|
pinged |= ckey(x)
|
||||||
pinged &= GLOB.clients // If the "SENDING MESSAGES OUT" for-loop starts iterating over something else, make this GLOB *that* something else.
|
var/list/clientkeys = list()
|
||||||
|
for(var/x in GLOB.clients)// If the "SENDING MESSAGES OUT" for-loop starts iterating over something else, make this GLOB *that* something else.
|
||||||
|
var/client/Y = x //God bless typeless for-loops
|
||||||
|
clientkeys += Y.ckey
|
||||||
|
pinged &= clientkeys
|
||||||
if(pinged.len)
|
if(pinged.len)
|
||||||
if((world.time - last_ping_time) < 30)
|
if((world.time - last_ping_time) < 30)
|
||||||
to_chat(src,"<span class='danger'>You are pinging too much! Please wait before pinging again.</span>")
|
to_chat(src,"<span class='danger'>You are pinging too much! Please wait before pinging again.</span>")
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ h1.alert, h2.alert {color: #000000;}
|
|||||||
|
|
||||||
em {font-style: normal; font-weight: bold;}
|
em {font-style: normal; font-weight: bold;}
|
||||||
|
|
||||||
.ooc { font-weight: bold;}
|
.ooc {color: #0000d1; font-weight: bold;} /* yogs - OOC */
|
||||||
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
||||||
.adminooc {color: #700038; font-weight: bold;}
|
.adminooc {color: #700038; font-weight: bold;}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ em {font-style: normal; font-weight: bold;}
|
|||||||
|
|
||||||
.prefix { font-weight: bold;}
|
.prefix { font-weight: bold;}
|
||||||
|
|
||||||
.ooc { font-weight: bold;}
|
.ooc {color: #0000d1; font-weight: bold;} /* yogs - OOC */
|
||||||
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
||||||
.adminooc {color: #700038; font-weight: bold;}
|
.adminooc {color: #700038; font-weight: bold;}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user