Changeset 131


Ignore:
Timestamp:
06/13/09 11:48:06 (10 years ago)
Author:
maximinus_parpg
Message:

Removed c key to switch level.
Use the damn door!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/world.py

    r128 r131  
    222222            self.hud.addAction("Action " + str(self.action_number)) 
    223223            self.action_number += 1 
    224         if(keyval == key.C): 
    225             # C changes the map 
    226             if self.map.getId() == "my-map": 
    227                 self.data.loadMap(str(TDS.readSetting("map2"))) 
    228             elif self.map.getId() == "map2": 
    229                 self.data.loadMap(str(TDS.readSetting("MapFile"))) 
    230224        if(keyval == key.ESCAPE): 
    231225            # Escape brings up the main menu 
Note: See TracChangeset for help on using the changeset viewer.