mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 09:16:56 +01:00
Convert "selected_tuple" into local function variable
This commit is contained in:
parent
0fbff1b81b
commit
cee1984f4d
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue