Critical Bugfix to Aurora Cooking not working with Reagents

Any recipes that had reagents involved in them would fail, because of a SINGLE MISPLACED ).

I spent two hours looking for this, I feel dumb as shit, but this should fix the recipe issues on live.
This commit is contained in:
Rykka
2020-08-03 16:45:44 -04:00
parent 00440e5683
commit 831274aad7

View File

@@ -82,7 +82,7 @@
for(var/r_r in reagents)
var/aval_r_amnt = avail_reagents.get_reagent_amount(r_r)
if(aval_r_amnt - reagents[r_r] >= 0)
if(aval_r_amnt>(reagents[r_r] && exact))
if(aval_r_amnt>(reagents[r_r]) && exact)
. = FALSE
else
return FALSE