diff --git a/code/game/objects/devices/aicard.dm b/code/game/objects/devices/aicard.dm
index 830a8edbb20..e330da3120f 100644
--- a/code/game/objects/devices/aicard.dm
+++ b/code/game/objects/devices/aicard.dm
@@ -55,5 +55,8 @@
user << "Transfer succeeded: [O.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory."
attack(mob/living/silicon/decoy/M as mob, mob/user as mob)
- M.death()
- user << "ERROR ERROR ERROR"
\ No newline at end of file
+ if (!istype (M, /mob/living/silicon/decoy))
+ return ..()
+ else
+ M.death()
+ user << "ERROR ERROR ERROR"
\ No newline at end of file