diff options
Diffstat (limited to '')
-rw-r--r-- | src/mapdata.py | 3 |
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 |