I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 13, in script
pause
File "renpy/common/000statements.rpy", line 416, in execute_pause
renpy.pause()
File "renpy/common/00action_data.rpy", line 356, in __call__
value = cs.scope[self.name]
KeyError: u'ylg'
it doesn't happen when the screen is called directly or when I'm using "SetScreenVariable" instead
Last edited by Kia on Sun Jan 13, 2019 7:59 am, edited 1 time in total.
Checkout ToggleLocalVariable and SetLocalVariable if you want to access variables in nested screens. (These are slower than their ScreenVariable equivalents.)
Supporting creators since 2004 (When was the last time you backed up your game?)