From 4a85b29b8a6fb7da0f5a93e5dd9606488042669b Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 16 Jun 2012 12:26:35 +0300 Subject: [PATCH] fix send back hero --- GameEngine/Units.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);