More elegant solution to dirt getting in the way.

Who needs to click dirt anyway?

Signed-off-by: Mloc-Argent <colmohici@gmail.com>

Conflicts:
	code/game/objects/effects/decals/Cleanable/misc.dm
This commit is contained in:
Mloc-Argent
2014-01-08 18:40:00 -05:00
committed by ZomgPonies
parent 4aef8764a8
commit 4e7feaf624
@@ -32,16 +32,9 @@
layer = 2
icon = 'icons/effects/effects.dmi'
icon_state = "dirt"
mouse_opacity = 0
/obj/effect/decal/cleanable/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(!istype(W,/obj/item/weapon/mop) && !istype(W,/obj/item/weapon/soap))
var/turf/T = get_turf(src)
if(T)
T.attackby(W,user)
return
..()
/obj/effect/decal/cleanable/flour
name = "flour"
desc = "It's still good. Four second rule!"