Fixes chem duplication exploit (#18759)

This commit is contained in:
Cameron Lennox
2025-11-11 15:21:26 -05:00
committed by GitHub
parent 3b5309e22e
commit 61bb486734
5 changed files with 14 additions and 11 deletions
@@ -68,7 +68,7 @@
var/contained = reagentlist()
add_attack_logs(user,target,"Used [src.name] containing [contained]")
trans += reagents.trans_to_mob(target, min(amount_per_transfer_from_this, reagents.total_volume)/2, CHEM_INGEST) //Half injected, half ingested
trans += reagents.trans_to_mob(target, min(amount_per_transfer_from_this, reagents.total_volume)/2, CHEM_INGEST, can_dialysis = FALSE) //Half injected, half ingested
trans += reagents.trans_to_mob(target, min(amount_per_transfer_from_this, reagents.total_volume), CHEM_BLOOD) //I guess it gets into the bloodstream through the eyes or something
user.visible_message(span_warning("[user] squirts something into [target]'s eyes!"), span_notice("You transfer [trans] units of the solution."))