Ignore:
Timestamp:
10/13/09 18:42:00 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #73: Patch by eliedebrauwer, removed obj_hashes from world, and from the maps, added logic to restore PC and NPC behaviour based on the layer ID, added logic to trigger the map load using within the pump(). Load still not functional. comment[s:trac, t:73]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/console.py

    r317 r323  
    1515 
    1616import re  
     17import os 
    1718 
    1819class Console: 
     
    126127                l_args = command.lower()[end_load + 1:].strip() 
    127128                l_path, l_filename = l_args.split(' ') 
    128                 self.app_listener.model.load(l_path, l_filename) 
    129                 result = "Loaded file: " + l_path + l_filename 
     129                self.app_listener.model.load_save = True 
     130                self.app_listener.model.savegame = os.path.join(l_path, l_filename) 
     131                result = "Load triggered" 
    130132 
    131133            except Exception, l_error: 
Note: See TracChangeset for help on using the changeset viewer.