This commit is contained in:
Zuhayr
2014-07-13 05:45:23 -04:00
committed by ZomgPonies
parent 1d06e2ac6e
commit 02a7109037
+7 -1
View File
@@ -52,7 +52,10 @@
if (!can_touch(user) || !climbable)
return
usr.visible_message("<span class='warning'>[user] starts climbing onto \the [src]!</span>")
if(locate(/obj/machinery/door/poddoor/shutters) in src.contents) return
var/obj/machinery/door/poddoor/shutters/S = locate() in src.contents
if(S && S.density) return
if(!do_after(user,50))
return
@@ -60,6 +63,9 @@
if (!can_touch(user) || !climbable)
return
var/obj/machinery/door/poddoor/shutters/S = locate() in src.contents
if(S && S.density) return
usr.loc = get_turf(src)
if (get_turf(user) == get_turf(src))
usr.visible_message("<span class='warning'>[user] climbs onto \the [src]!</span>")