From e3c2a28d71fa5198f42e7bf1534bfa44fc85760d Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Tue, 28 Aug 2018 01:42:35 +0300 Subject: [PATCH] Minor bug fixes WW villages cannot be destroyed. Thank @iopietro for your help. --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index bc0fb714..fa6c5a7b 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -1283,7 +1283,7 @@ class Automation { $info_cat = $info_chief = $info_ram = $info_hero = ","; //check to see if can destroy village - if (count($varray) > 1 && !$database->villageHasArtefact($DefenderWref)) { + if (count($varray) > 1 && !$database->villageHasArtefact($DefenderWref) && !$to['natar']) { $can_destroy = 1; } else $can_destroy = 0;