Réparation des succès en mode infini et du niveau max des mutations
This commit is contained in:
@@ -75,6 +75,9 @@ func get_all_story_steps() -> Array[StoryStep]:
|
||||
AstraStoryStep.new(),
|
||||
]
|
||||
|
||||
func update_best_run(run : RunData):
|
||||
best_run = max(best_run, run.level)
|
||||
|
||||
func finish_run(run : RunData):
|
||||
run_number += 1
|
||||
best_run = max(best_run, run.level)
|
||||
update_best_run(run)
|
||||
|
||||
Reference in New Issue
Block a user