From df2c306fcbc6cb43e36c33cc47749f4fccf927ce Mon Sep 17 00:00:00 2001 From: Felix Draxler Date: Wed, 24 Mar 2021 14:49:58 +0100 Subject: [PATCH] Raise act exceptions in training mode --- agents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agents.py b/agents.py index 296bcecb4..ad99cb252 100644 --- a/agents.py +++ b/agents.py @@ -145,6 +145,8 @@ def wait_for_act(self): self.last_action = action return action, think_time except BaseException: + if self.train: + raise return 'WAIT', float("inf") def round_ended(self):