From 952d74437864fe1762c65f5f85d2f51f51686b52 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 26 Dec 2020 20:31:31 -0800 Subject: [PATCH] done --- code/modules/mob/living/living_movement.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/living_movement.dm b/code/modules/mob/living/living_movement.dm index e7a5de294d..2a9e2d2634 100644 --- a/code/modules/mob/living/living_movement.dm +++ b/code/modules/mob/living/living_movement.dm @@ -108,11 +108,11 @@ * Attempts to make the floor dirty. */ /mob/living/proc/dirt_buildup(strength) - var/turf/T = loc - if(!istype(T) || !T.allow_dirt_buildup) + var/turf/open/T = loc + if(!istype(T) || !T.dirt_buildup_allowed) return var/area/A = T.loc - if(!A.allow_dirt_buildup) + if(!A.dirt_buildup_allowed) return var/obj/effect/decal/cleanable/dirt/D = locate() in T if(D)