Merge pull request #4936 from Twinmold93/materialconsistencies

Grille  Inconsistency Fix
This commit is contained in:
Fox McCloud
2016-07-08 17:59:23 -04:00
committed by GitHub
+4 -1
View File
@@ -142,7 +142,10 @@
if(iswirecutter(W))
if(!shock(user, 100))
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
new /obj/item/stack/rods(loc, 2)
if(!destroyed)
new /obj/item/stack/rods(loc, 2)
else
new /obj/item/stack/rods(loc)
qdel(src)
else if((isscrewdriver(W)) && (istype(loc, /turf/simulated) || anchored))
if(!shock(user, 90))