mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-22 11:07:13 +00:00
fix distance calculation when adding new raid in farmlist (#378)
This commit is contained in:
@@ -102,7 +102,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
/* ======================
|
||||
FINAL INSERT
|
||||
====================== */
|
||||
$coor = $database->getCoor($village->wid);
|
||||
$coor = $database->getCoor($FLData['wref']);
|
||||
$distance = $database->getDistance($coor['x'], $coor['y'], $WrefX, $WrefY);
|
||||
|
||||
$database->addSlotFarm(
|
||||
|
||||
Reference in New Issue
Block a user