diff --git a/code/modules/mob/living/simple_animal/bot/cleanbot.dm b/code/modules/mob/living/simple_animal/bot/cleanbot.dm index 1300777620..806fc60156 100644 --- a/code/modules/mob/living/simple_animal/bot/cleanbot.dm +++ b/code/modules/mob/living/simple_animal/bot/cleanbot.dm @@ -390,6 +390,12 @@ target = null mode = BOT_IDLE icon_state = "cleanbot[on]" + else if(istype(A, /turf)) //for player-controlled cleanbots so they can clean unclickable messes like dirt + var/turf/T = A + for(var/atom/S in T.contents) + if(istype(S, /obj/effect/decal/cleanable)) //clean the first mess found + UnarmedAttack(S) + return else if(istype(A, /obj/item) || istype(A, /obj/effect/decal/remains)) visible_message("[src] sprays hydrofluoric acid at [A]!") playsound(src, 'sound/effects/spray2.ogg', 50, TRUE, -6)