We object pool grille now.

This commit is contained in:
ESwordTheCat
2014-04-07 08:03:42 +08:00
committed by ZomgPonies
parent 75b6f2a2dd
commit 424df5eaf7
3 changed files with 23 additions and 5 deletions
+2 -2
View File
@@ -129,7 +129,7 @@
if(!shock(user, 100))
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
new /obj/item/stack/rods(loc, 2)
del(src)
returnToPool(src)
else if((isscrewdriver(W)) && (istype(loc, /turf/simulated) || anchored))
if(!shock(user, 90))
playsound(loc, 'sound/items/Screwdriver.ogg', 100, 1)
@@ -210,7 +210,7 @@
else
if(health <= -6)
new /obj/item/stack/rods(loc)
del(src)
returnToPool(src)
return
return