Commit 777f9abb authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in getEntity

parent 7d44f9b3
...@@ -354,6 +354,8 @@ class CoreObject(ManPyObject): ...@@ -354,6 +354,8 @@ class CoreObject(ManPyObject):
self.unAssignEntry() self.unAssignEntry()
activeEntity=self.identifyEntityToGet() activeEntity=self.identifyEntityToGet()
activeEntity.currentStation=self activeEntity.currentStation=self
# update the receiver of the giverObject
giverObject.receiver=self
# remove entity from the giver # remove entity from the giver
activeEntity = giverObject.removeEntity(entity=self.identifyEntityToGet()) activeEntity = giverObject.removeEntity(entity=self.identifyEntityToGet())
# variable that holds the last giver; used in case of preemption # 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