Changeset 743


Ignore:
Timestamp:
02/22/11 23:20:32 (8 years ago)
Author:
technomage
Message:

Patch by Technomage

  • Fixed a bug in my last commit that caused the game to crash becase a) it was reading the wrong settings section and b) it was using pychan.loadFont instead of pychange.loadFonts;
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/application.py

    r742 r743  
    129129        self.model.getDialogues() 
    130130        self.view = MainMenuView(self.engine, self.model) 
    131         self.fonts_directory = self._setting.get("PARPG", "FontsDirectory") 
     131        self.fonts_directory = self._setting.get("FIFE", "FontsDirectory") 
    132132        self.loadFonts(self.fonts_directory) 
    133133        self.event_listener = EventListener(self.engine) 
     
    151151            base_name, extension = os.path.splitext(file_name) 
    152152            if extension == '.fontdef': 
    153                 pychan.loadFont(file_name) 
     153                pychan.loadFonts(file_name) 
    154154 
    155155    def createListener(self): 
Note: See TracChangeset for help on using the changeset viewer.