diff --git a/application/core/Maps/Map.php b/application/core/Maps/Map.php index fc428f61..c9651f48 100644 --- a/application/core/Maps/Map.php +++ b/application/core/Maps/Map.php @@ -8,9 +8,9 @@ use ManiaControl\ManiaExchange\MXMapInfo; /** * Map Class * - * @author kremsy & steeffeen + * @author kremsy & steeffeen * @copyright ManiaControl Copyright © 2014 ManiaControl Team - * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ class Map { /* @@ -22,6 +22,7 @@ class Map { public $uid = ''; public $fileName = ''; public $environment = ''; + public $authorTime = -1; public $goldTime = -1; public $copperPrice = -1; public $mapType = ''; @@ -39,6 +40,7 @@ class Map { public $startTime = -1; public $lastUpdate = 0; + /** * Create a new Map Object from Rpc Data * @@ -57,6 +59,7 @@ class Map { $this->fileName = $mpMap->fileName; $this->authorLogin = $mpMap->author; $this->environment = $mpMap->environnement; + $this->authorTime = $mpMap->authorTime; $this->goldTime = $mpMap->goldTime; $this->copperPrice = $mpMap->copperPrice; $this->mapType = $mpMap->mapType;