From 3dca590174e622d3735f235d4863ab73b648012c Mon Sep 17 00:00:00 2001 From: Legalo Date: Sun, 10 Mar 2024 21:44:39 -0300 Subject: [PATCH] Send to main menu after incompatible save to avoid invalid variable states --- game/00src/save_compat.rpy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game/00src/save_compat.rpy b/game/00src/save_compat.rpy index 9005163..17835d7 100644 --- a/game/00src/save_compat.rpy +++ b/game/00src/save_compat.rpy @@ -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: