[MIRROR] Fixed bug that teleports AI cards (#6810)

* fixed teleporting ai card bug (#60080)

* Fixed bug that teleports AI cards

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
This commit is contained in:
SkyratBot
2021-07-10 14:08:14 +01:00
committed by GitHub
parent 5586902bf7
commit bb10beb88b
@@ -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())