diff --git a/Templates/Build/27_1.tpl b/Templates/Build/27_1.tpl index e8c675fe..0cc8834c 100644 --- a/Templates/Build/27_1.tpl +++ b/Templates/Build/27_1.tpl @@ -1,7 +1,6 @@ getOwnArtefactInfo2($village->wid); - $result = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "artefacts WHERE vref = " . $village->wid . "")); + $artefact1 = $database->getOwnArtefactInfo3($session->uid); $wref = $village->wid; $coor = $database->getCoor($wref); function getDistance($coorx1, $coory1, $coorx2, $coory2) {