Make sure the difficulty can be lower if the player has difficulties, even if the players finally wins the game
This commit is contained in:
@@ -223,6 +223,9 @@ func _win() -> void:
|
||||
UserDataManager.update_remediation_scores(scores)
|
||||
|
||||
# Difficulty
|
||||
if current_lives <= 0:
|
||||
UserDataManager.update_difficulty_for_minigame(Type.keys()[minigame_name] as String, false)
|
||||
else:
|
||||
UserDataManager.update_difficulty_for_minigame(Type.keys()[minigame_name] as String, true)
|
||||
|
||||
audio_player.stream = win_sound_fx
|
||||
|
||||
Reference in New Issue
Block a user