General fixes

+Fixed a bug that calculated a wrong returning time if the attacker had
the tournament square in the village
This commit is contained in:
iopietro
2018-05-22 19:58:53 +02:00
parent c340eb267e
commit a4a623bbfa
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -773,7 +773,7 @@ class Units {
$speeds[] = $GLOBALS['u'.$heroUnit]['speed'];
}
return $generator->procDistanceTime($fromCor, $toCor, min($speeds), $mode);
return $generator->procDistanceTime($fromCor, $toCor, min($speeds), $mode, $from);
}
public function startRaidList($post){