diff --git a/GameEngine/Units.php b/GameEngine/Units.php index 8c23e861..176db61c 100644 --- a/GameEngine/Units.php +++ b/GameEngine/Units.php @@ -401,7 +401,7 @@ class Units { for($i=$start;$i<=$end;$i++){ $database->modifyEnforce($post['ckey'],$i,$post['t'.$j.''],0); $j++; } - + $database->modifyEnforce($post['ckey'],'hero',$post['t11'],0); $j++; //get cord $from = $database->getVillage($enforce['from']); $fromcoor = $database->getCoor($enforce['from']);