Changeset 1033


Ignore:
Timestamp:
03/30/2011 02:07:34 PM (9 years ago)
Author:
michael.kriegel
Message:

resolved a bug that caused the xml memory writer to stop working after migration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/AgentCore.java

    r996 r1033  
    10631063                        this._emotionalState = (EmotionalState) s.readObject(); 
    10641064                        this._memory = (Memory) s.readObject(); 
     1065                        // we need to recreate the memory writer because it holds a reference to the memory object 
     1066                        this._memoryWriter = new MemoryWriter(this._memory); 
    10651067                        this._goalLibrary = (GoalLibrary) s.readObject(); 
    10661068                        this._actionLibrary = (ActionLibrary) s.readObject(); 
Note: See TracChangeset for help on using the changeset viewer.