From 8787f524eb7ccbd7d43530c48473e2e0c8c7eb7e Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 24 Apr 2022 03:29:53 +0200 Subject: [PATCH] [MIRROR] Fixes the beyblade reaction oversight / exploit [MDB IGNORE] (#13046) * Fixes beyblade reaction with convermol (#66396) * Fixes the beyblade reaction oversight / exploit Co-authored-by: FernandoJ8 <80640114+FernandoJ8@users.noreply.github.com> --- code/modules/reagents/chemistry/recipes/cat2_medicines.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/recipes/cat2_medicines.dm b/code/modules/reagents/chemistry/recipes/cat2_medicines.dm index af3ac081181..a34603f4a6a 100644 --- a/code/modules/reagents/chemistry/recipes/cat2_medicines.dm +++ b/code/modules/reagents/chemistry/recipes/cat2_medicines.dm @@ -200,7 +200,10 @@ /datum/chemical_reaction/medicine/convermol/overly_impure(datum/reagents/holder, datum/equilibrium/equilibrium, step_volume_added) . = ..() overheated(holder, equilibrium, impure = TRUE) - clear_reactants(holder, step_volume_added*2) + if(holder.has_reagent(/datum/reagent/oxygen)) + clear_reactants(holder, step_volume_added*2) + else + clear_reactants(holder) /datum/chemical_reaction/medicine/tirimol