mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Makes automute less prone to mute cultists.
This commit is contained in:
@@ -626,10 +626,8 @@ var/list/sacrificed = list()
|
|||||||
|
|
||||||
if(istype(src,/obj/effect/rune))
|
if(istype(src,/obj/effect/rune))
|
||||||
usr.say("O bidai nabora se[pick("'","`")]sma!")
|
usr.say("O bidai nabora se[pick("'","`")]sma!")
|
||||||
usr.say("[input]")
|
|
||||||
else
|
else
|
||||||
usr.whisper("O bidai nabora se[pick("'","`")]sma!")
|
usr.whisper("O bidai nabora se[pick("'","`")]sma!")
|
||||||
usr.whisper("[input]")
|
|
||||||
|
|
||||||
input = sanitize(input)
|
input = sanitize(input)
|
||||||
log_and_message_admins("used a communicate rune to say '[input]'")
|
log_and_message_admins("used a communicate rune to say '[input]'")
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/client/proc/handle_spam_prevention(var/mute_type = MUTE_ALL, var/spam_delay = 0.5 SECONDS)
|
/client/proc/handle_spam_prevention(var/mute_type = MUTE_ALL, var/spam_delay = 0.5 SECONDS)
|
||||||
if(world.time - last_message_time < spam_delay)
|
if(world.time - last_message_time < spam_delay)
|
||||||
spam_alert++
|
spam_alert++
|
||||||
if(spam_alert > 3)
|
if(spam_alert > 5)
|
||||||
cmd_admin_mute(src.mob, mute_type, 1)
|
cmd_admin_mute(src.mob, mute_type, 1)
|
||||||
else
|
else
|
||||||
spam_alert = max(0, spam_alert--)
|
spam_alert = max(0, spam_alert--)
|
||||||
|
|||||||
Reference in New Issue
Block a user