mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-22 11:36:38 +01:00
Fixes cryocells dumping patients out without being asked to
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user