Merge pull request #14273 from timothyteakettle/chaplain-vampire

chaplain vampires won't burn in their own chapel now
This commit is contained in:
silicons
2021-02-20 02:58:06 -07:00
committed by GitHub

View File

@@ -58,7 +58,7 @@
to_chat(C, "<span class='danger'>You ran out of blood!</span>")
C.dust()
var/area/A = get_area(C)
if(istype(A, /area/chapel))
if(istype(A, /area/chapel) && C.mind?.assigned_role != "Chaplain")
to_chat(C, "<span class='danger'>You don't belong here!</span>")
C.adjustFireLoss(5)
C.adjust_fire_stacks(6)