mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 06:01:56 +00:00
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:
@@ -63,10 +63,9 @@
|
|||||||
return 1
|
return 1
|
||||||
|
|
||||||
/obj/machinery/atmospherics/unary/cryo_cell/relaymove(mob/user as mob)
|
/obj/machinery/atmospherics/unary/cryo_cell/relaymove(mob/user as mob)
|
||||||
if(user.stat)
|
// note that relaymove will also be called for mobs outside the cell with UI open
|
||||||
return
|
if(src.occupant == user && !user.stat)
|
||||||
go_out()
|
go_out()
|
||||||
return
|
|
||||||
|
|
||||||
/obj/machinery/atmospherics/unary/cryo_cell/attack_hand(mob/user)
|
/obj/machinery/atmospherics/unary/cryo_cell/attack_hand(mob/user)
|
||||||
ui_interact(user)
|
ui_interact(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user