From 27b8adc426807ae4541e24595a8f2d4009f08e41 Mon Sep 17 00:00:00 2001 From: Markolie Date: Sun, 9 Aug 2015 18:38:46 +0200 Subject: [PATCH] Fix compile error --- code/modules/mob/living/simple_animal/simple_animal.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index 48c972e0cde..f6df572bbbe 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -490,8 +490,8 @@ var/obj/mecha/M = the_target if (M.occupant) return 0 - if (istype(target,/obj/spacepod)) - var/obj/spacepod/S = target + if (istype(the_target,/obj/spacepod)) + var/obj/spacepod/S = the_target if (S.occupant || S.occupant2) return 0 return 1