diff --git a/src/gameUtils/base.py b/src/gameUtils/base.py index ffaed1d..103265e 100644 --- a/src/gameUtils/base.py +++ b/src/gameUtils/base.py @@ -108,6 +108,8 @@ class Game: ID on the stack, False otherwise. """ + return any(timeout.timeoutID == timeoutID for timeout in self._timeouts) + def popup(self, title: str, text: str, haltUpdate: bool=False, haltEvents: bool=True): """ Pops up a dialogue box.