diff --git a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm index 300b1d85c67..258237f0ddd 100644 --- a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm +++ b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm @@ -176,7 +176,7 @@ var/datum/reagents/R = beaker.reagents var/id = href_list["remove"] R.remove_reagent(id, amount) - else if(isnum(amount) && (amount = -1)) //Isolate instead + else if(isnum(amount) && (amount == -1)) //Isolate instead var/datum/reagents/R = beaker.reagents var/id = href_list["remove"] R.isolate_reagent(id)