Adjusts reinforced wall construction

This commit is contained in:
Yoshax
2016-04-04 18:39:02 +01:00
parent 3971b93731
commit 0c5eb32fef

View File

@@ -306,8 +306,8 @@
if(istype(W, /obj/item/weapon/crowbar))
user << "<span class='notice'>You struggle to pry off the outer sheath.</span>"
playsound(src, 'sound/items/Crowbar.ogg', 100, 1)
sleep(100)
if(!istype(src, /turf/simulated/wall) || !user || !W || !T ) return
if(!do_after(user,100) || !istype(src, /turf/simulated/wall) || !user || !W || !T )
return
if(user.loc == T && user.get_active_hand() == W )
user << "<span class='notice'>You pry off the outer sheath.</span>"
dismantle_wall()