Change call order for reset_debug_scores function

This commit is contained in:
2024-08-17 13:25:05 -03:00
parent fc903d08fb
commit f8aa9d0459

View File

@ -50,6 +50,7 @@ init python:
if is_end_of_chapters():
ending_route_number = get_ending()
reset_debug_scores()
next_ending_chapter()
# return
@ -73,8 +74,6 @@ init python:
# the ending_routes dictionary
current_ending_list: list[str] = ending_routes[ending_route_number]
reset_debug_scores()
if ending_chapter_index < len(current_ending_list):
# Stores the label name from the current_ending_list array in the item variable
current_ending_chapter = current_ending_list[ending_chapter_index]
@ -91,10 +90,6 @@ init python:
def reset_debug_scores():
global current_general_chapter
current_general_chapter = None
if config.developer and persistent.enable_debug_scores:
debug_story_variables(False)
debug_story_variables(True, True)