Teleporting Suit Cyclers Fix (#9314)

This commit is contained in:
Geeves
2020-07-09 11:12:33 +02:00
committed by GitHub
parent b96a29d934
commit fa97d4e97b
2 changed files with 14 additions and 2 deletions
+8 -2
View File
@@ -368,11 +368,16 @@
return
/obj/machinery/suit_cycler/Topic(href, href_list)
if(!Adjacent(usr) && !issilicon(usr))
to_chat(usr, SPAN_WARNING("\The [src] is out of your reach."))
return
if(href_list["eject_suit"])
if(!suit)
return
suit.forceMove(get_turf(src))
usr.put_in_hands(suit)
if(Adjacent(usr))
usr.put_in_hands(suit)
suit = null
update_icon()
@@ -380,7 +385,8 @@
if(!helmet)
return
helmet.forceMove(get_turf(src))
usr.put_in_hands(helmet)
if(Adjacent(usr))
usr.put_in_hands(helmet)
helmet = null
update_icon()
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Suit Cyclers will now only put ejected contents in your hands if you're adjacent to it. No more bluespace cyclers."