fix distance calculation when adding new raid in farmlist (#378)

This commit is contained in:
Snooker Loopy
2026-08-19 06:34:36 +02:00
committed by GitHub
parent 8f14ed7647
commit 5300198c3a
+1 -1
View File
@@ -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(