mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Merge pull request #3688 from VampyrBytes/ClosetMovement
Fixes movement issues with opening and closing closets
This commit is contained in:
@@ -708,10 +708,6 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
|
||||
return
|
||||
if ((lying) && (!(tilesSlipped)))
|
||||
return
|
||||
if (istype(loc, /obj/structure/closet)) // for getting in a locker
|
||||
return
|
||||
for (var/obj/structure/closet/closet in loc.contents) // for getting out of a locker
|
||||
return
|
||||
if (!(slipAny))
|
||||
if (istype(src, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = src
|
||||
|
||||
Reference in New Issue
Block a user