Merge pull request #3688 from VampyrBytes/ClosetMovement

Fixes movement issues with opening and closing closets
This commit is contained in:
Fox McCloud
2016-02-24 18:15:04 -05:00
3 changed files with 60 additions and 54 deletions
-4
View File
@@ -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