diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw
index 231d1ba7985f30cd8ca4151c39c5fa446858f350..3ef29cc1664e68ff9d47fbfde66cc6fa9a224a42 100644
--- a/src/uncategorized/nextWeek.tw
+++ b/src/uncategorized/nextWeek.tw
@@ -91,8 +91,8 @@
 			<<set $farmyardFoodCost = 5 >>
 		<<else>>
 			<<set $farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/$localEcon-1000)/10)/100), 6.5)>>
-		<</if>
-	<</if>
+		<</if>>
+	<</if>>
 	<<set $foodCost = Math.trunc(2500/$localEcon)>>
 	<<set $drugsCost = Math.trunc(10000/$localEcon)>>
 	<<set $rulesCost = Math.trunc(10000/$localEcon)>>