diff --git a/code/datums/status_effects/skill_modifiers/rpg_modifiers.dm b/code/datums/status_effects/skill_modifiers/rpg_modifiers.dm index 020461df6195..671806011dbb 100644 --- a/code/datums/status_effects/skill_modifiers/rpg_modifiers.dm +++ b/code/datums/status_effects/skill_modifiers/rpg_modifiers.dm @@ -1,5 +1,5 @@ /proc/status_effect_to_viewers(target, mod_path, message, range = world.view, exclude_mobs) - for(var/mob/living/M in viewers(target, range) - exclude_mobs) + for(var/mob/living/carbon/human/M in viewers(target, range) - exclude_mobs) if(M.is_blind() || M.stat != CONSCIOUS) continue diff --git a/code/modules/surgery/new_surgery/sanctify.dm b/code/modules/surgery/new_surgery/sanctify.dm index 1f051b70e83f..f1551cb1588e 100644 --- a/code/modules/surgery/new_surgery/sanctify.dm +++ b/code/modules/surgery/new_surgery/sanctify.dm @@ -33,10 +33,17 @@ if(ghost) ghost.exorcise() + // Robots don't understand + var/list/exclude = list() + for(var/mob/living/carbon/human/H in viewers(world.view, target)) + if(isipc(H)) + exclude += H + status_effect_to_viewers( target, /datum/status_effect/skill_mod/sanctify_corpse, span_statsgood("You feel at peace."), + exclude = exclude, )