From 4b8500096009b230ca81778bc74d0643620408c8 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Sun, 31 Jul 2022 14:01:39 -0700 Subject: [PATCH] Fixed a crafting category bug related to fluids. (#848) --- worlds/factorio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/factorio/__init__.py b/worlds/factorio/__init__.py index 33f1809cf7..9dc1febcba 100644 --- a/worlds/factorio/__init__.py +++ b/worlds/factorio/__init__.py @@ -221,7 +221,7 @@ class Factorio(World): # Return the liquid to the pool and get a new ingredient. pool.append(new_ingredient) new_ingredient = pool.pop(0) - liquids_used += 1 + liquids_used += 1 if new_ingredient in fluids else 0 new_ingredients[new_ingredient] = 1 return Recipe(original.name, self.get_category(original.category, liquids_used), new_ingredients, original.products, original.energy)