OrderComponent __init__ does not update the pendingEntities list

parent c36f1a7e
......@@ -54,10 +54,6 @@ class OrderComponent(Job): # inherits from the
# if the order is not None, and the order.manager is given
if self.order.manager:
self.manager=self.order.manager
# variables to be used by OperatorRouter
self.hot=self.order.hot
if self.order in G.pendingEntities:
G.pendingEntities.append(self)
# TODO: isCritical argument is deprecated
# self.isCritical=isCritical # this should be self.order.isCritical. Added now for testing
self.componentType = componentType # the type of the component which can be Basic/Secondary/Auxiliary
......
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