From 3e7222b5fcb1ceb83dc83c1dec4ffc7ac6a9ed52 Mon Sep 17 00:00:00 2001 From: hdmaniak Date: Fri, 27 Mar 2026 07:07:22 +0100 Subject: [PATCH] Fix: Restrict village spawn search to selected quadrant --- GameEngine/Database.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/GameEngine/Database.php b/GameEngine/Database.php index 28828d5c..7bb69cb6 100755 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -1384,9 +1384,6 @@ public function getBestOasisCropBonus($x, $y) { $numberOfVillages -= $resultedRows; $count++; - //If there are no more free cells in that sector, it have to be changed - //This instruction will be used only (in the next cicle(s)) if not all wids have been generated yet - if ($count > intval(WORLD_MAX / 10)) $sector = rand(1, 4); } foreach($villages as $village) $wids[] = $village['id'];