summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-29 16:23:58 +0200
committerTreeki <treeki@gmail.com>2012-09-29 16:23:58 +0200
commit8d8c0287ee0f6dac9caebfcdedde410a532cb35f (patch)
tree974dbad1d76fa0947e797ea9a7929f7b5648ae44 /src
parentaa107026914ff20014d518bbea75e6728b932617 (diff)
downloadkoopatlas-8d8c0287ee0f6dac9caebfcdedde410a532cb35f.tar.gz
koopatlas-8d8c0287ee0f6dac9caebfcdedde410a532cb35f.zip
fixed loading of BG name
Diffstat (limited to '')
-rw-r--r--src/mapdata.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapdata.py b/src/mapdata.py
index e2a8a0d..7a61a64 100644
--- a/src/mapdata.py
+++ b/src/mapdata.py
@@ -567,7 +567,7 @@ class KPWorldDef(object):
@mapfile.dumpable('map_root')
class KPMap(object):
- __dump_attribs__ = ('layers', 'associateLayers', 'nextLayerNumber', 'doodadDefinitions', 'worlds')
+ __dump_attribs__ = ('layers', 'associateLayers', 'nextLayerNumber', 'doodadDefinitions', 'worlds', 'bgName')
def _preload(self, src):
# we need this early so we can use the deref methods!
@@ -586,7 +586,6 @@ class KPMap(object):
def _dump(self, mapObj, dest):
dest['version'] = self.version
- dest['bgName'] = self.bgName
def save(self):
path = self.filePath