Resolves cryotubes randomly acting as death traps (#5899)

This commit is contained in:
Dwago
2019-01-04 15:31:52 -08:00
committed by Werner
parent 1606e735d1
commit d8030f83d2
2 changed files with 38 additions and 1 deletions

View File

@@ -35,7 +35,7 @@
if (eyeobj)
return eyeobj.zMove(direction)
if (istype(src.loc,/obj/mecha))
if(istype(src.loc,/obj/mecha)||istype(src.loc,/obj/machinery/cryopod)||istype(src.loc,/obj/machinery/recharge_station))
return FALSE
// Check if we can actually travel a Z-level.