Better None syntax

This commit is contained in:
Gouvernathor 2023-11-14 23:52:38 +01:00
parent 85bf97bdf9
commit 5925a9298c

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