From 8e5d31ade510a53073c926cf8258f74891e25573 Mon Sep 17 00:00:00 2001 From: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:49:57 +0200 Subject: [PATCH] Fixes getting a prayer confirmation per affected admin, instead of just once (#6382) # About the pull request moves the thing outside the loop # Explain why it's good for the game # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: fix: Your prayers have been received by the gods will now only be said once per prayer /:cl: --- code/modules/admin/verbs/pray.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/pray.dm b/code/modules/admin/verbs/pray.dm index f6df1e652ba5..23edd7499134 100644 --- a/code/modules/admin/verbs/pray.dm +++ b/code/modules/admin/verbs/pray.dm @@ -25,7 +25,8 @@ to_chat(admin, SPAN_STAFF_IC(msg)) if(admin.prefs.toggles_sound & SOUND_ARES_MESSAGE) admin << 'sound/machines/terminal_alert.ogg' - to_chat(usr, receipt) + + to_chat(usr, receipt) /proc/high_command_announce(text , mob/Sender , iamessage) var/msg = copytext(sanitize(text), 1, MAX_MESSAGE_LEN)