diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 63ada840..8751de0b 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -2515,7 +2515,7 @@ class Automation { if(($toF['loyalty']-$rand)>0){ $info_chief = "".$chief_pic.",The loyalty was lowered from ".floor($toF['loyalty'])." to ".floor($toF['loyalty']-$rand)."."; $database->setVillageField($data['to'],loyalty,($toF['loyalty']-$rand)); - } else { + } else if (!$village_destroyed) { //you took over the village $villname = addslashes($database->getVillageField($data['to'],"name")); $artifact = $database->getOwnArtefactInfo($data['to']);