fix exception on build

This commit is contained in:
Mappening 2024-03-22 03:06:05 -05:00
parent 862239c60a
commit 4b509c0981
1 changed files with 2 additions and 4 deletions

View File

@ -437,8 +437,7 @@ screen bonus_chapter_button(f="gui/button/menubuttons/template_idle.png"):
action ShowMenu("ex_ch_menu")
activate_sound "audio/ui/uiClick.wav"
fixed:
if (persistent.old_endings != persistent.endings) \
or (persistent.bonus_chapters != persistent.old_bonus_chapters and (persistent.bonus_chapters == 0b111111111)):
if (persistent.old_endings != persistent.endings) or (persistent.bonus_chapters != persistent.old_bonus_chapters and (persistent.bonus_chapters == 0b111111111)):
add "bonus_flash" xalign 0.5 yalign 0.5 zoom 1 xanchor 0 xcenter 0.5 ycenter 0.5
$ persistent.old_endings = persistent.endings
#$ persistent.old_bonus_chapters = persistent.bonus_chapters
@ -479,8 +478,7 @@ screen main_menu():
pass
if (persistent.old_endings != persistent.endings) \
or (persistent.bonus_chapters != persistent.old_bonus_chapters and (persistent.bonus_chapters == 0b111111111)):
if (persistent.old_endings != persistent.endings) or (persistent.bonus_chapters != persistent.old_bonus_chapters and (persistent.bonus_chapters == 0b111111111)):
fixed:
xalign 0.125
yalign 0.5