Merge pull request #1400 from Mark9013100/4/11/2016cyro_dump_fix

Fixes cryocells dumping patients out without being asked to
This commit is contained in:
Datraen
2016-04-11 15:38:53 -04:00

View File

@@ -63,10 +63,9 @@
return 1
/obj/machinery/atmospherics/unary/cryo_cell/relaymove(mob/user as mob)
if(user.stat)
return
go_out()
return
// note that relaymove will also be called for mobs outside the cell with UI open
if(src.occupant == user && !user.stat)
go_out()
/obj/machinery/atmospherics/unary/cryo_cell/attack_hand(mob/user)
ui_interact(user)