From cee1984f4dafb2885d980f1b2718e202359b23cd Mon Sep 17 00:00:00 2001 From: Iggy Date: Thu, 22 Aug 2024 23:26:33 -0300 Subject: [PATCH] Convert "selected_tuple" into local function variable --- game/src/chapter_select.rpy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/src/chapter_select.rpy b/game/src/chapter_select.rpy index 68fecf1..033613f 100644 --- a/game/src/chapter_select.rpy +++ b/game/src/chapter_select.rpy @@ -20,13 +20,13 @@ define tuples_index = [ ("Chapters 7 to 11", chapter_tuple_2) ] -default selected_tuple = None - init python: def select_chapter(): - global selected_tuple, current_chapter, is_end_reached + global current_chapter, is_end_reached + + selected_tuple = () while True: selected_tuple = display_tuple_menu(tuples_index)