mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 09:16:56 +01:00
Remove is_end_of_chapters function
This commit is contained in:
parent
f38c53776c
commit
803e878c3f
1 changed files with 1 additions and 5 deletions
|
@ -16,7 +16,7 @@ init python:
|
|||
global chapter_list_index, current_chapter, ending_route_number
|
||||
|
||||
# Add check "is_end_reached" to have this if statement be executed only once when finishing the general chapters
|
||||
if not is_end_reached and is_end_of_chapters():
|
||||
if not is_end_reached and chapter_list_index >= chapter_list_length:
|
||||
process_ending()
|
||||
|
||||
if chapter_list_index < chapter_list_length:
|
||||
|
@ -25,10 +25,6 @@ init python:
|
|||
renpy.call(current_chapter)
|
||||
else:
|
||||
end_story()
|
||||
|
||||
|
||||
def is_end_of_chapters():
|
||||
return chapter_list_index >= chapter_list_length
|
||||
|
||||
|
||||
def process_ending():
|
||||
|
|
Loading…
Reference in a new issue