0

If overviewer.dat doesn't exist, don't give a north-direction warning

This commit is contained in:
Andrew Chin
2011-08-17 20:04:25 -04:00
parent 42cb4b7756
commit 01bba80c54
2 changed files with 3 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ def main():
if north_direction == 'auto':
north_direction = w.persistentData['north_direction']
options.north_direction = north_direction
elif w.persistentData['north_direction'] != north_direction and not options.forcerender:
elif w.persistentData['north_direction'] != north_direction and not options.forcerender and not w.persistentDataIsNew:
logging.error("Conflicting north-direction setting!")
logging.error("Overviewer.dat gives previous north-direction as "+w.persistentData['north_direction'])
logging.error("Requested north-direction was "+north_direction)