Better None syntax

(cherry picked from commit 8d4216a476)
This commit is contained in:
Gouvernathor 2023-11-14 23:52:38 +01:00 committed by LoafyLemon
parent 2110eeb92a
commit d3a2929b6c

View File

@ -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