From bb10beb88bfde2cc1ac5be0e84a866944df9edda Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 10 Jul 2021 14:08:14 +0100 Subject: [PATCH] [MIRROR] Fixed bug that teleports AI cards (#6810) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fixed teleporting ai card bug (#60080) * Fixed bug that teleports AI cards Co-authored-by: 小月猫 --- code/modules/modular_computers/hardware/ai_slot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/modular_computers/hardware/ai_slot.dm b/code/modules/modular_computers/hardware/ai_slot.dm index c7bb1ef81e8..8740b59b352 100644 --- a/code/modules/modular_computers/hardware/ai_slot.dm +++ b/code/modules/modular_computers/hardware/ai_slot.dm @@ -52,7 +52,7 @@ if(stored_card) to_chat(user, span_notice("You remove [stored_card] from [src].")) locked = FALSE - if(user) + if(Adjacent(user)) user.put_in_hands(stored_card) else stored_card.forceMove(drop_location())