Commit b4452a2e authored by Georgios Dagkakis's avatar Georgios Dagkakis

fix in exit to erase the Entities from its internal list

parent 2f5fe85b
......@@ -110,6 +110,8 @@ class Exit(CoreObject):
self.totalNumberOfUnitsExited+=activeEntity.numberOfUnits # add the number of units that xited
self.totalTaktTime+=now()-self.timeLastEntityLeft # add the takt time
self.timeLastEntityLeft=now() # update the time that the last entity left from the Exit
activeObjectQueue=self.getActiveObjectQueue()
del activeObjectQueue[:]
return activeEntity
#===========================================================================
......
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