mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
Grille Inconsistency Fix
This fixes an inconsistency when you use wirecutters on a destroyed grille. Instead of giving 1 like it should, it gives two. 🆑 Twinmold Fix: Fixes the inconsistency of getting 2 metal rods when you wirecutter a destroyed grille down to 1. /🆑
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user