Mop progress bar now actually works.

This commit is contained in:
bgobandit
2015-09-09 22:04:47 -04:00
parent 0b15cffcad
commit 4efae3bc02
+2 -2
View File
@@ -47,9 +47,9 @@ obj/item/weapon/mop/proc/clean(turf/simulated/A)
if(istype(turf))
user.visible_message("[user] begins to clean \the [turf] with [src].", "<span class='notice'>You begin to clean \the [turf] with [src]...</span>")
if(do_after(user, mopspeed, target = src))
clean(turf)
if(do_after(user, src.mopspeed, target = turf))
user << "<span class='notice'>You finish mopping.</span>"
clean(turf)
/obj/effect/attackby(obj/item/I, mob/user, params)