From 85dddbd90d6a7808dd1dcba5fe91572f2ae2408a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9C=88=E7=8C=AB?= Date: Fri, 9 Jul 2021 00:31:14 -0400 Subject: [PATCH] fixed teleporting ai card bug (#60080) --- 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())