- Apr 2, 2020
- 38
- 8
Was just adjusting something in a text file and I got this message when trying to start up the previously working game.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again
File "game/tablet.rpy", line 211: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
imagebutton:
^
Ren'Py Version: Ren'Py 7.3.5.606
Sun Dec 06 22:37:16 2020
For context here is the a portion of the file:
screen scr_tablet_music tag menu:
imagebutton: <----- Line 211
idle "back_music" xalign 0.45 yalign 0.53 action NullAction()
if v_tablet_playlist == True:
imagebutton:
idle "btn_phone_back_idle"
hover "btn_phone_back_hover"
xalign 0.48 yalign 0.9
action [Hide("scr_tablet_music"),SetVariable("v_tablet_sub",0),Hide("scr_tablet"),SetVariable('quick_menu', True)]
I know next to nothing about this stuff, does anyone know how to fix this or what this means?
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again
File "game/tablet.rpy", line 211: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
imagebutton:
^
Ren'Py Version: Ren'Py 7.3.5.606
Sun Dec 06 22:37:16 2020
For context here is the a portion of the file:
screen scr_tablet_music tag menu:
imagebutton: <----- Line 211
idle "back_music" xalign 0.45 yalign 0.53 action NullAction()
if v_tablet_playlist == True:
imagebutton:
idle "btn_phone_back_idle"
hover "btn_phone_back_hover"
xalign 0.48 yalign 0.9
action [Hide("scr_tablet_music"),SetVariable("v_tablet_sub",0),Hide("scr_tablet"),SetVariable('quick_menu', True)]
I know next to nothing about this stuff, does anyone know how to fix this or what this means?