From 940fec2a51a7dee50c4f6ae898dca8881108617b Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 28 Sep 2012 03:10:31 +0200 Subject: world def format updated --- src/mapdata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapdata.py') diff --git a/src/mapdata.py b/src/mapdata.py index 5bfe9d5..e2a8a0d 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -549,11 +549,12 @@ class KPPathLayer(KPLayer): @mapfile.dumpable('world_definition') class KPWorldDef(object): - __dump_attribs__ = ('uniqueKey', 'name', 'fsHintColours', 'fsTextColours', 'hudHintTransform', 'hudTextColours', 'musicTrackID') + __dump_attribs__ = ('uniqueKey', 'name', 'worldID', 'fsHintColours', 'fsTextColours', 'hudHintTransform', 'hudTextColours', 'musicTrackID') def __init__(self): self.uniqueKey = -1 self.name = 'Untitled World' + self.worldID = '0' self.fsHintColours = ((0,0,0,255),(0,0,0,255)) self.fsTextColours = ((255,255,255,255),(255,255,255,255)) -- cgit v1.2.3