From 91019374f5f39c27d0f7a90955f38ebd7e46bbbc Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Thu, 16 Nov 2023 01:38:39 +0100 Subject: [PATCH] Avoid circular reference (cherry picked from commit db30cd66d33502161bb90939516782761283c06e) --- game/scripts/interface/letter.rpy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game/scripts/interface/letter.rpy b/game/scripts/interface/letter.rpy index 9890c47c..5f5d1540 100644 --- a/game/scripts/interface/letter.rpy +++ b/game/scripts/interface/letter.rpy @@ -180,7 +180,10 @@ init python: self.wait = wait self.label = label self.func = func - self.queue = mailbox.letters + + @property + def queue(self): + return mailbox.letters def send(self): self.mailed = True