Commit c4fefcad authored by Georgios Dagkakis's avatar Georgios Dagkakis

fix in conveyer canAccept bug

parent c81437eb
...@@ -327,9 +327,9 @@ class Conveyer(CoreObject): ...@@ -327,9 +327,9 @@ class Conveyer(CoreObject):
# gets an entity from the predecessor # gets an entity from the predecessor
#=========================================================================== #===========================================================================
def getEntity(self): def getEntity(self):
activeEntity=CoreObject.getEntity(self)
#the entity is placed in the start of the conveyer #the entity is placed in the start of the conveyer
self.position.append(0) self.position.append(0)
activeEntity=CoreObject.getEntity(self)
# counting the total number of units to be moved through the whole simulation time # counting the total number of units to be moved through the whole simulation time
self.numberOfMoves+=1 self.numberOfMoves+=1
#check if the conveyer became full to start counting blockage #check if the conveyer became full to start counting blockage
......
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