This commit is contained in:
Zuhayr
2014-07-02 06:17:26 +09:30
parent a55b447100
commit aa4581e72f
+7 -1
View File
@@ -47,7 +47,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
@@ -55,6 +58,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>")