Mop no longer fails to clean when used with 1 unit remaining (#20057)

This commit is contained in:
Henri215
2023-01-13 16:05:46 -05:00
committed by GitHub
parent 51feb56d91
commit 74f998f22d
+3 -2
View File
@@ -29,11 +29,12 @@
if(!do_after(user, cleanspeed, target = src))
return FALSE
cleaner.post_clean(src, user)
if(!cleaner.can_clean())
cleaner.post_clean(src, user)
return FALSE
cleaner.post_clean(src, user)
to_chat(user, "<span class='notice'>You [text_verb] \the [text_targetname][text_description]</span>")
if(is_cmagged) //If we've cleaned a cmagged object