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()