mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Adds sanity checking to prefs checks, fixing a bug that can cause emotes to stop displaying intermittently [MDB IGNORE] (#23081)
* Adds sanity checking to prefs checks, fixing a bug that can cause emotes to stop displaying intermittently * Update vox_procs.dm --------- Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -66,7 +66,7 @@ GLOBAL_DATUM_INIT(requests, /datum/request_manager, new)
|
||||
/datum/request_manager/proc/pray(client/C, message, is_chaplain)
|
||||
request_for_client(C, REQUEST_PRAYER, message)
|
||||
for(var/client/admin in GLOB.admins)
|
||||
if(is_chaplain && admin.prefs.chat_toggles & CHAT_PRAYER && admin.prefs.toggles & SOUND_PRAYERS)
|
||||
if(is_chaplain && get_chat_toggles(admin) & CHAT_PRAYER && admin.prefs.toggles & SOUND_PRAYERS)
|
||||
SEND_SOUND(admin, sound('sound/effects/pray.ogg'))
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user