0

Store north-direction in overviewer.dat

Check stored value at render time and abort if direction has changed and
--forcerender not specified.
Addresses concerns from pull request #458
This commit is contained in:
Thomas Lake
2011-08-17 17:49:22 -04:00
committed by Aaron Griffith
parent 087d597ed0
commit 3e1ae9dd17
3 changed files with 12 additions and 2 deletions

View File

@@ -187,6 +187,7 @@ class MapGen(object):
# save persistent data
self.world.persistentData['POI'] = self.world.POI
self.world.persistentData['north_direction'] = self.world.north_direction
with open(self.world.pickleFile,"wb") as f:
cPickle.dump(self.world.persistentData,f)