From 601c8d9f7057b109e93411077f8a3f7393831bc1 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Wed, 17 Dec 2025 04:04:28 +0100 Subject: [PATCH] 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 :cl: fix: Fixed damp rags not removing reagents other than space cleaner from themselves /:cl: --- code/modules/reagents/reagent_containers/rag.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/reagent_containers/rag.dm b/code/modules/reagents/reagent_containers/rag.dm index 70aa4c23b79..639e5e1d7ac 100644 --- a/code/modules/reagents/reagent_containers/rag.dm +++ b/code/modules/reagents/reagent_containers/rag.dm @@ -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