mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-01 10:04:21 +00:00
getVillageType2 returns an integer containing oasistype, not an array
This commit is contained in:
@@ -94,8 +94,7 @@ $vdata = $database->getVillage($towref);
|
||||
?>
|
||||
<label for="slot<?php echo $id; ?>">
|
||||
<?php
|
||||
$type = $database->getVillageType2($towref);
|
||||
$oasistype = $type['oasistype'];
|
||||
$oasistype = $database->getVillageType2($towref);
|
||||
if($oasistype != 0){
|
||||
?>
|
||||
<span class="coordinates coordinatesWithText">
|
||||
|
||||
Reference in New Issue
Block a user