Fixes damp rags not removing reagents other than space cleaner from themselves (#94478)

## About The Pull Request

``remove_reagent`` requires a type, not an instance

## Changelog
🆑
fix: Fixed damp rags not removing reagents other than space cleaner from
themselves
/🆑
This commit is contained in:
SmArtKar
2025-12-16 22:04:28 -05:00
committed by GitHub
parent 9e51eaba4a
commit 601c8d9f70
@@ -177,7 +177,7 @@
amount_to_remove = how_dirty * 1.2
for(var/datum/reagent/other_reagent as anything in reagents.reagent_list)
if((other_reagent.chemical_flags & REAGENT_CLEANS) && other_reagent.volume >= amount_to_remove)
reagents.remove_reagent(other_reagent, amount_to_remove)
reagents.remove_reagent(other_reagent.type, amount_to_remove)
return TRUE
return FALSE