From bc450c686e9f679c0de7c045ca842d4752cc9a66 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sat, 25 Nov 2017 13:01:09 +0100 Subject: [PATCH] fix: not able to upgrade woodcutter fields --- GameEngine/Building.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Building.php b/GameEngine/Building.php index fc90bedd..41b7f3b4 100755 --- a/GameEngine/Building.php +++ b/GameEngine/Building.php @@ -79,7 +79,7 @@ class Building { // let's see if we should allow building what we want where we want to // (prevent building resource fields in the village ( - ($page == 'dorf1.php' && $id > 1 && $id <= 4) || + ($page == 'dorf1.php' && $id >= 1 && $id <= 4) || ($page == 'dorf2.php' && $id > 4) ) && // check that we're not trying to change a standing building type