Changeset 647


Ignore:
Timestamp:
08/13/10 09:40:28 (9 years ago)
Author:
beliar
Message:

Patch by Beliar

  • Made it so that settings.xml is being tried to load before settings-dist.xml in run.py to make sure that no problems occur.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/run.py

    r646 r647  
    5656    """Application code starts from here""" 
    5757    if not main_is_frozen(): 
     58        version = loadSettings().get("PARPG", "SettingsVersion") 
    5859        dist_version = loadSettings("./settings-dist.xml").get("PARPG", "SettingsVersion") 
    59         version = loadSettings().get("PARPG", "SettingsVersion") 
    6060        if (version != dist_version): 
    6161            print "Newer settings-dist.xml found, renaming settings.xml to settings-old.xml" 
Note: See TracChangeset for help on using the changeset viewer.