Update window.dm
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
var/fulltile = 0
|
||||
var/glass_type = /obj/item/stack/sheet/glass
|
||||
var/glass_amount = 1
|
||||
var/static/mutable_appearance/crack_overlay = mutable_appearance('icons/obj/structures.dmi')
|
||||
var/mutable_appearance/crack_overlay
|
||||
var/list/debris = list()
|
||||
can_be_unanchored = 1
|
||||
resistance_flags = ACID_PROOF
|
||||
@@ -377,10 +377,10 @@
|
||||
if(smooth)
|
||||
queue_smooth(src)
|
||||
|
||||
cut_overlays()
|
||||
cut_overlay(crack_overlay)
|
||||
if(ratio > 75)
|
||||
return
|
||||
crack_overlay.icon_state = "damage[ratio]"
|
||||
crack_overlay = mutable_appearance('icons/obj/structures.dmi', "damage[ratio]", -(layer+0.1))
|
||||
add_overlay(crack_overlay)
|
||||
|
||||
/obj/structure/window/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
|
||||
Reference in New Issue
Block a user