Commit 97920d5b authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

correction in getEntity

parent b5721268
......@@ -354,6 +354,8 @@ class CoreObject(ManPyObject):
self.unAssignEntry()
activeEntity=self.identifyEntityToGet()
activeEntity.currentStation=self
# update the receiver of the giverObject
giverObject.receiver=self
# remove entity from the giver
activeEntity = giverObject.removeEntity(entity=self.identifyEntityToGet())
# variable that holds the last giver; used in case of preemption
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment