diff --git a/code/game/objects/effects/spawners/random/maintenance.dm b/code/game/objects/effects/spawners/random/maintenance.dm index 234b69e8571..38f8af6a902 100644 --- a/code/game/objects/effects/spawners/random/maintenance.dm +++ b/code/game/objects/effects/spawners/random/maintenance.dm @@ -9,7 +9,7 @@ /obj/effect/spawner/random/maintenance/no_decals /obj/effect/spawner/random/maintenance/no_decals/can_spawn(atom/loot) - return !istype(loot, /obj/effect/decal) + return !ispath(loot, /obj/effect/decal) /obj/effect/spawner/random/maintenance/examine(mob/user) . = ..()