diff --git a/Templates/goldClub/farmlist_addraid.tpl b/Templates/goldClub/farmlist_addraid.tpl index 531aa5f2..9dd70c7c 100644 --- a/Templates/goldClub/farmlist_addraid.tpl +++ b/Templates/goldClub/farmlist_addraid.tpl @@ -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(