From d3a2929b6ccccd0a0e8739d89164c967dfda4b2f Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Tue, 14 Nov 2023 23:52:38 +0100 Subject: [PATCH] Better None syntax (cherry picked from commit 8d4216a4768dfae2526a9347dcdb6f6507a9d206) --- game/scripts/rooms/main_room/objects/desk.rpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/scripts/rooms/main_room/objects/desk.rpy b/game/scripts/rooms/main_room/objects/desk.rpy index 8f3fdca4..e78fb7d4 100644 --- a/game/scripts/rooms/main_room/objects/desk.rpy +++ b/game/scripts/rooms/main_room/objects/desk.rpy @@ -241,7 +241,7 @@ screen crystal_ball(): zorder 8 add "interface/desk/crystal_ball.webp" xpos 268 ypos 0 - if not ball_hint == None: + if ball_hint is not None: add "interface/desk/hints/glow.webp" xpos 268+40 add "interface/desk/hints/"+str(ball_hint)+ ".webp" xpos 268+125 xanchor 0.5