mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
Minor bug fixes
WW villages cannot be destroyed. Thank @iopietro for your help.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user