From a067344e03fd426a04ce58ff622f704b16af36ea Mon Sep 17 00:00:00 2001 From: Pietro Date: Thu, 5 Apr 2018 21:47:46 +0200 Subject: [PATCH] Fixed a little bug The Bakery is now shown in the "Soon" building list after meeting at least one prerequisites. --- Templates/Build/avaliable.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Build/avaliable.tpl b/Templates/Build/avaliable.tpl index ce4ff85a..a6ea7e75 100644 --- a/Templates/Build/avaliable.tpl +++ b/Templates/Build/avaliable.tpl @@ -289,7 +289,7 @@ if($workshop == 0 && $academy <= 9 && $academy >= 5 && $mainbuilding >= 2 && $ma if($tournamentsquare == 0 && $rallypoint <= 14 && $rallypoint >= 7) { include("soon/tsquare.tpl"); } -if($bakery == 0 && $grainmill <= 4 && $grainmill != 0 && $cropland >= 5 && $cropland <= 9 && $mainbuilding >= 2 && $mainbuilding <= 4) { +if($bakery == 0 && $grainmill >= 1 && $grainmill <= 4 || $cropland >= 5 && $cropland <= 9 || $mainbuilding >= 2 && $mainbuilding <= 4) { include("soon/bakery.tpl"); } if($townhall == 0 && ($mainbuilding <= 9 && $mainbuilding >= 5) || ($academy >= 5 && $academy <= 9)) {