mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: defender troops do not die during attack
This commit is contained in:
@@ -175,7 +175,9 @@ class Technology {
|
||||
$holder['amt'] = $unitarray['u'.$i];
|
||||
array_push($listArray,$holder);
|
||||
}
|
||||
}if($unitarray['hero'] != 0 && $unitarray['hero'] != "") {
|
||||
}
|
||||
|
||||
if($unitarray['hero'] != 0 && $unitarray['hero'] != "") {
|
||||
$holder['id'] = "hero";
|
||||
$holder['name'] = $this->unarray[$i];
|
||||
$holder['amt'] = $unitarray['hero'];
|
||||
|
||||
Reference in New Issue
Block a user