diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index f6c8893d2c7..a2a5bf5e030 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -11,6 +11,7 @@ var/ini_dir = null var/state = 0 var/reinf = 0 + var/disassembled = 0 // var/silicate = 0 // number of units of silicate // var/icon/silicateIcon = null // the silicated icon @@ -186,6 +187,7 @@ G = new (user.loc) G.add_fingerprint(user) playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1) + disassembled = 1 qdel(src) else if(I.damtype == BRUTE || I.damtype == BURN) @@ -304,7 +306,8 @@ /obj/structure/window/Destroy() density = 0 air_update_turf(1) - playsound(src, "shatter", 70, 1) + if(!disassembled) + playsound(src, "shatter", 70, 1) update_nearby_icons() ..()