diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-20 02:07:26 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-20 02:07:26 -0800 |
commit | 7ae48075590b09e4892daf1e218ef32c6717bfc0 (patch) | |
tree | 0fcf98722862d836fa927729d7cc5f7469189c68 /includes/mapclass.php | |
parent | 6352b54fcd4fb87b7d1e53b818ab1df903b282c1 (diff) | |
download | pathery-7ae48075590b09e4892daf1e218ef32c6717bfc0.tar.xz |
Added the mapcode to the map-object - temporarly at least.
Diffstat (limited to 'includes/mapclass.php')
-rw-r--r-- | includes/mapclass.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/mapclass.php b/includes/mapclass.php index 5f28c85..9e91d3f 100644 --- a/includes/mapclass.php +++ b/includes/mapclass.php @@ -49,6 +49,7 @@ class map { public function applyMapFromOldCode($code) { //echo "decoding mapcode: [$code]"; + $this->code = $code; unset($this->tiles); $tmp = explode( ":", $code); @@ -144,8 +145,7 @@ class map { //From the newer mapcode. public function applyMapFromCode($code) { - //TODO: Uncomment this when testing is complete; to boost getCode() speed; - //$this->$code = $code; + $this->code = $code; unset($this->tiles); $tmp = explode( ":", $code); |