mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Non fulltile windows don't get blood on them, spacecleaner cleans blood more reliably (#26886)
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
var/turf/T = get_turf(src)
|
||||
check_gravity(T)
|
||||
|
||||
if((T && (T.density)) || !gravity_check || locate(/obj/structure/window/) in T || locate(/obj/structure/grille/) in T)
|
||||
if(!istype(src, /obj/effect/decal/cleanable/blood/footprints) && ((T && (T.density)) || !gravity_check || locate(/obj/structure/window/full) in T || locate(/obj/structure/grille/) in T))
|
||||
off_floor = TRUE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE
|
||||
|
||||
@@ -61,9 +61,7 @@
|
||||
if(iseffect(O))
|
||||
var/obj/effect/E = O
|
||||
if(E.is_cleanable())
|
||||
var/obj/effect/decal/cleanable/blood/B = E
|
||||
if(!(istype(B) && B.off_floor))
|
||||
qdel(E)
|
||||
qdel(E)
|
||||
else
|
||||
if(O.simulated)
|
||||
O.color = initial(O.color)
|
||||
|
||||
Reference in New Issue
Block a user