[MIRROR] seperate LOOC and OOC mute (#8377)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-05-12 07:25:10 -07:00
committed by GitHub
parent dca5add8d7
commit 7ff294be07
4 changed files with 8 additions and 5 deletions

View File

@@ -112,7 +112,7 @@
if(!CONFIG_GET(flag/dooc_allowed) && (mob.stat == DEAD)) // CHOMPEdit
to_chat(usr, "<span class='danger'>OOC for dead mobs has been turned off.</span>")
return
if(prefs.muted & MUTE_OOC)
if(prefs.muted & MUTE_LOOC)
to_chat(src, "<span class='danger'>You cannot use OOC (muted).</span>")
return
if(findtext(msg, "byond://") && !CONFIG_GET(flag/allow_byond_links)) // CHOMPEdit
@@ -134,7 +134,7 @@
log_looc(msg,src)
if(msg)
handle_spam_prevention(MUTE_OOC)
handle_spam_prevention(MUTE_LOOC)
var/mob/source = mob.get_looc_source()
var/turf/T = get_turf(source)