Better None syntax
This commit is contained in:
parent
da636e93ab
commit
8d4216a476
@ -241,7 +241,7 @@ screen crystal_ball():
|
|||||||
zorder 8
|
zorder 8
|
||||||
|
|
||||||
add "interface/desk/crystal_ball.webp" xpos 268 ypos 0
|
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/glow.webp" xpos 268+40
|
||||||
add "interface/desk/hints/"+str(ball_hint)+ ".webp" xpos 268+125 xanchor 0.5
|
add "interface/desk/hints/"+str(ball_hint)+ ".webp" xpos 268+125 xanchor 0.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user