mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user