Merge pull request #747 from KazeEspada/grilles

fixes issue #742 - grilles now drop the correct number of rods when destroyed.
This commit is contained in:
Carnie
2013-06-10 00:44:00 -07:00
+5 -1
View File
@@ -102,7 +102,11 @@
if(istype(W, /obj/item/weapon/wirecutters))
if(!shock(user, 100))
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
new /obj/item/stack/rods(loc)
if(destroyed)
new /obj/item/stack/rods(loc)
else
new /obj/item/stack/rods(loc)
new /obj/item/stack/rods(loc)
del(src)
else if((istype(W, /obj/item/weapon/screwdriver)) && (istype(loc, /turf/simulated) || anchored))
if(!shock(user, 90))