From 8b480bfd160a8426f96b124a0a73f4dd84d328f1 Mon Sep 17 00:00:00 2001
From: DCoded <dicoded@email.com>
Date: Wed, 17 Nov 2021 15:33:57 -0500
Subject: [PATCH] Bugfix, maybe

---
 src/endWeek/economics/persBusiness.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endWeek/economics/persBusiness.js b/src/endWeek/economics/persBusiness.js
index 32f71e4c587..6695d7f8493 100644
--- a/src/endWeek/economics/persBusiness.js
+++ b/src/endWeek/economics/persBusiness.js
@@ -47,7 +47,7 @@ App.EndWeek.personalBusiness = function() {
 		}
 	}
 	if (V.foodMarket) {
-		if (V.food < App.Facilities.Farmyard.foodConsumption() && V.cash < App.Facilities.Farmyard.foodConsumption() * V.foodCost) {
+		if (V.food < App.Facilities.Farmyard.foodConsumption() && V.cash < (App.Facilities.Farmyard.foodConsumption() * V.foodCost)) {
 			r.push(`<span class="red">WARNING: your arcology will starve in the coming week unless action is taken.</span>`);
 			if (V.foodWarned) {
 				V.gameover = "starving citizens";
-- 
GitLab