mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user