diff --git a/src/obj/Table.py b/src/obj/Table.py index a39e5f7..09dfae5 100644 --- a/src/obj/Table.py +++ b/src/obj/Table.py @@ -13,7 +13,7 @@ class Table(Object): def isActual(self, current_time): if self.is_actual and self.agent_role == "table": - if current_time - self.waiting_time > 1000: + if current_time - self.waiting_time > 500: self.reset_role(current_time) self.reset_status() @@ -32,6 +32,8 @@ class Table(Object): def updateState(self, current_time, predictor): if self.is_actual: + if self.agent_role == "table": + self.waiting_time = current_time return self.unsetMark() self.is_actual = True