Send to main menu after incompatible save to avoid invalid variable states

This commit is contained in:
2024-03-10 21:44:39 -03:00
committed by Map
parent 4c1f2b012f
commit 3dca590174

View File

@@ -156,7 +156,11 @@ screen badSave():
spacing 100
# I originally wanted to send you to the main menu but that really really breaks for some reason
textbutton _("OK") activate_sound "audio/ui/snd_ui_click.wav" action Start()
textbutton _("OK") activate_sound "audio/ui/snd_ui_click.wav" action Jump("kill_playthrough")
label kill_playthrough:
# Stupid way to return to the main menu, the traditional ways don't work or outright crash the game
$ renpy.set_return_stack([])
return
label ask_drawing:
if type(waniDemoCarryover.Chapter3Drawing) == NoneType: