diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm
index 84f731d3669..503e1a6fcb4 100644
--- a/code/modules/mob/living/silicon/ai/ai.dm
+++ b/code/modules/mob/living/silicon/ai/ai.dm
@@ -697,6 +697,9 @@ var/list/ai_verbs_default = list(
return
/mob/living/silicon/ai/attack_animal(mob/living/simple_animal/M)
+ if(istype(M, /mob/living/simple_animal/hostile/swarmer)) //Swarmers shouldn't be killing the AI
+ to_chat(M, "Your shock has no effect on [src]!")
+ return
if(M.melee_damage_upper == 0)
M.custom_emote(1, "[M.friendly] [src]")
else
@@ -1259,4 +1262,4 @@ var/list/ai_verbs_default = list(
to_chat(src, "Unable to locate an airlock near [target].")
else
- to_chat(src, "Target is not on or near any active cameras on the station.")
\ No newline at end of file
+ to_chat(src, "Target is not on or near any active cameras on the station.")