I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/home.rpy", line 124, in script
call screen nav_menu
File "renpy/common/000statements.rpy", line 671, in execute_call_screen
File "game/scripts/functions.rpy", line 69, in per_interact
if change_to is not self.current_d:
UnboundLocalError: local variable 'change_to' referenced before assignment
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/scripts/home.rpy", line 124, in script
call screen nav_menu
File "/Applications/renpy-8.0.3-sdk/renpy/ast.py", line 1968, in execute
self.call("execute")
File "/Applications/renpy-8.0.3-sdk/renpy/ast.py", line 1950, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "/Applications/renpy-8.0.3-sdk/renpy/statements.py", line 349, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 671, in execute_call_screen
File "/Applications/renpy-8.0.3-sdk/renpy/exports.py", line 3413, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "/Applications/renpy-8.0.3-sdk/renpy/ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/Applications/renpy-8.0.3-sdk/renpy/display/core.py", line 2165, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "/Applications/renpy-8.0.3-sdk/renpy/display/core.py", line 2683, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "/Applications/renpy-8.0.3-sdk/renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "/Applications/renpy-8.0.3-sdk/renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "/Applications/renpy-8.0.3-sdk/renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
[Previous line repeated 6 more times]
File "/Applications/renpy-8.0.3-sdk/renpy/display/displayable.py", line 433, in visit_all
callback(self)
File "/Applications/renpy-8.0.3-sdk/renpy/display/core.py", line 2683, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "game/scripts/functions.rpy", line 69, in per_interact
if change_to is not self.current_d:
UnboundLocalError: local variable 'change_to' referenced before assignment
macOS-14.2.1-arm64-arm-64bit arm64
Ren'Py 8.2.0.24012702
Desert Stalker 0.15Beta
Tue Jan 30 07:59:35 2024