mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Allow simply putting soap/mop/rag in storage if clean. (#32092)
* Allow simply putting soap/mop/rag in storage if clean. * Apply suggestion from review. Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: Alan <alfalfascout@users.noreply.github.com> --------- Signed-off-by: Alan <alfalfascout@users.noreply.github.com> Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/reagent_containers/glass/rag/normal_act(atom/target, mob/living/user)
|
||||
// if it's a storage item and it isn't dirty, just put the rag in the storage
|
||||
if(isstorage(target) && !target.is_dirty())
|
||||
return ..()
|
||||
target.cleaning_act(user, src, wipespeed)
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user