Hello,
I would like to rebuild the style just once, however, it seems once I type "style.rebuild()" the game will begin rebuilding the style over and over, no matter where I put it.
I have tried adding it in various places to test it out, for example:
which should happen only once I press"Escape"
or
which should happen only once I change the value on the slider, yet I do not even need to access the preferences screen (where the slider is) for the style.rebuild to begin executing.
I even tried to put it as an action in a button with again the same result, is this a ren'py bug or is typing "style.rebuild" anywhere is supposed to execute it from the start of the game, over and over? I am using 7.3.4
I would like to rebuild the style just once, however, it seems once I type "style.rebuild()" the game will begin rebuilding the style over and over, no matter where I put it.
I have tried adding it in various places to test it out, for example:
Python:
if main_menu:
key "game_menu":
action [ShowMenu("main_menu"), style.rebuild()]
or
Python:
bar value FieldValue(..., action=style.rebuild())
I even tried to put it as an action in a button with again the same result, is this a ren'py bug or is typing "style.rebuild" anywhere is supposed to execute it from the start of the game, over and over? I am using 7.3.4