From 38cbc21bc076004760b56603fd4c4d0905632660 Mon Sep 17 00:00:00 2001 From: hexcoded Date: Tue, 4 Jun 2013 11:16:44 +0300 Subject: [PATCH] Occupied/Unoccupied Oasis name fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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"); --- GameEngine/Units.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Units.php b/GameEngine/Units.php index 50a90b40..b0e32587 100644 --- a/GameEngine/Units.php +++ b/GameEngine/Units.php @@ -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");