Fixes a few bugs related to religions. (#17098)

* Religion bugs

* Actually let's do all of the possible bugs

* No need for a typecheck

* Fug

* Even better
This commit is contained in:
ShiftyRail
2018-01-16 01:08:07 +01:00
committed by sood
parent 69eae2f9a9
commit 40a7db1820
2 changed files with 5 additions and 2 deletions

View File

@@ -4636,7 +4636,8 @@
to_chat(usr, "<span class='warning'>Error: no deity or message selected.</span>")
for (var/datum/mind/M in R.adepts)
to_chat(M.current, "You hear [deity]'s voice in your head... <i>[message]</i>")
if (M.current)
to_chat(M.current, "You hear [deity]'s voice in your head... <i>[message]</i>")
var/msg = "[key_name(usr)] sent message [message] to [R.name]'s adepts as [deity]"
message_admins(msg)