Occupied/Unoccupied Oasis name fix

Fix the name of Oasis.The own Oasis is show like Unoccupied after when we try to send troops etc.

from:
$villageName = “Unoccupied oasis”;
to:
$villageName = $database->getOasisField($oid,"name");
This commit is contained in:
hexcoded
2013-06-04 11:16:44 +03:00
parent e34f675c81
commit 38cbc21bc0
+1 -1
View File
@@ -197,7 +197,7 @@ class Units {
header("Location: a2b.php");
}else{
$villageName = "Unoccupied Oasis";
$villageName = $database->getOasisField($oid,"name");
$speed= 300;
$timetaken = $generator->procDistanceTime($coor,$village->coor,INCREASE_SPEED,1);
array_push($post, "$id", "$villageName", "2","$timetaken");