mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-24 03:57:15 +00:00
fix send back hero
This commit is contained in:
@@ -401,7 +401,7 @@ class Units {
|
|||||||
for($i=$start;$i<=$end;$i++){
|
for($i=$start;$i<=$end;$i++){
|
||||||
$database->modifyEnforce($post['ckey'],$i,$post['t'.$j.''],0); $j++;
|
$database->modifyEnforce($post['ckey'],$i,$post['t'.$j.''],0); $j++;
|
||||||
}
|
}
|
||||||
|
$database->modifyEnforce($post['ckey'],'hero',$post['t11'],0); $j++;
|
||||||
//get cord
|
//get cord
|
||||||
$from = $database->getVillage($enforce['from']);
|
$from = $database->getVillage($enforce['from']);
|
||||||
$fromcoor = $database->getCoor($enforce['from']);
|
$fromcoor = $database->getCoor($enforce['from']);
|
||||||
|
|||||||
Reference in New Issue
Block a user