almost made a terrible mistake with dirt

This commit is contained in:
Seris02
2023-01-16 18:20:01 +08:00
parent 9f039abe7e
commit 20aa3c29d6
@@ -45,7 +45,7 @@
our_turf.dirt = clamp(max(age ? (dirt ? dirt : 101) : our_turf.dirt, our_turf.dirt), 0, 101)
var/calcalpha = our_turf.dirt > 50 ? min((our_turf.dirt - 50) * 5, 255) : 0
var/obj/effect/decal/cleanable/dirt/alreadythere = locate(/obj/effect/decal/cleanable/dirt, our_turf)
if (alreadythere)
if (alreadythere && alreadythere != src)
alreadythere.alpha = calcalpha
return INITIALIZE_HINT_QDEL
alpha = calcalpha