Dirt Fixes. Pass ALL the attack_by's to the floor.

Conflicts:
	code/game/objects/effects/decals/Cleanable/misc.dm
This commit is contained in:
Ccomp5950
2014-01-05 19:17:26 -06:00
committed by ZomgPonies
parent 58f76c2f4c
commit 0c5cff952e
@@ -33,6 +33,15 @@
icon = 'icons/effects/effects.dmi'
icon_state = "dirt"
/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!"