From 40b00a71dcfe0354a6f273ab3120bf2eba84b38c Mon Sep 17 00:00:00 2001 From: Brosef Date: Tue, 24 Jun 2025 06:07:45 +0100 Subject: [PATCH] More linting --- src/gameUtils/base.py | 2 ++ 1 file changed, 2 insertions(+) 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.