mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user