From 61da56b6c8110dfee2aae57c70c3f6a94923ef93 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Tue, 2 Apr 2024 16:21:13 +0100 Subject: [PATCH] Partially revert #7ca17b7 (Breaks dev debug) --- game/scripts/events/queue.rpy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/scripts/events/queue.rpy b/game/scripts/events/queue.rpy index 04264612..cffe1ce3 100644 --- a/game/scripts/events/queue.rpy +++ b/game/scripts/events/queue.rpy @@ -156,8 +156,8 @@ init -1 python: if config.developer: def __setattr__(self, attr, value): - if getattr(self, attr, not value) != value: - id = self.id + if hasattr(self, attr) and getattr(self, attr) != value: + id = getattr(self, "id") rollback = f"{stdcol.UNDERLINE}(Rollback){stdcol.END} " if renpy.in_rollback() else "" caller_id = renpy.get_filename_line()