From 811282989805779f25f0691decdd7871ed4bf980 Mon Sep 17 00:00:00 2001 From: QuinnWuest Date: Sun, 11 Dec 2022 19:34:12 -0500 Subject: [PATCH] Fix to ultra rare condition --- Assets/burgerAlarmScript.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/burgerAlarmScript.cs b/Assets/burgerAlarmScript.cs index 6a93eab..bc2fa61 100644 --- a/Assets/burgerAlarmScript.cs +++ b/Assets/burgerAlarmScript.cs @@ -288,7 +288,9 @@ void GenerateModule() if (modules.Contains("Ice Cream") || modules.Contains("Cooking") || modules.Contains("Cookie Jars") || modules.Contains("Pie")) { - if (symbolPositions[7] % 3 < symbolPositions[9] % 3 || (symbolPositions[7] % 3 == 0 && symbolPositions[9] == 9)) + if ((symbolPositions[7] % 3 < symbolPositions[9] % 3 && symbolPositions[7] != 9 && symbolPositions[9] != 9) || + (symbolPositions[7] % 3 == 0 && symbolPositions[9] == 9) || + (symbolPositions[9] % 3 == 2 && symbolPositions[7] == 9)) tableOffsets[7] = 1; else