fixed game over behaviour, not correctly being set

This commit is contained in:
JoeMama
2025-10-25 12:55:27 +01:00
parent 0f0f1484a0
commit 479da718f6
2 changed files with 2 additions and 1 deletions

View File

@@ -640,7 +640,7 @@ settings_category = "difficulty"
[node name="GameOverStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")] [node name="GameOverStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2 layout_mode = 2
option_key = "game_over" option_key = "game_over_behaviour"
title = "DIFFI_GAME_OVER" title = "DIFFI_GAME_OVER"
value_descs = Array[String](["DESC_GAME_OVER_0", "DESC_GAME_OVER_1", "DESC_GAME_OVER_2"]) value_descs = Array[String](["DESC_GAME_OVER_0", "DESC_GAME_OVER_1", "DESC_GAME_OVER_2"])
values = ["DIFFI_GAME_OVER_WLD", "DIFFI_GAME_OVER_LVL", "DIFFI_GAME_OVER_GME"] values = ["DIFFI_GAME_OVER_WLD", "DIFFI_GAME_OVER_LVL", "DIFFI_GAME_OVER_GME"]

View File

@@ -37,6 +37,7 @@ func set_value(value_name := "", value := 0) -> void:
"inf_lives": inf_lives_changed, "inf_lives": inf_lives_changed,
"flagpole_lives": flag_lives_changed, "flagpole_lives": flag_lives_changed,
"game_over": game_over_changed, "game_over": game_over_changed,
"game_over_behaviour": game_over_changed,
"level_design": level_design_changed, "level_design": level_design_changed,
"extra_checkpoints": extra_checkpoints_changed, "extra_checkpoints": extra_checkpoints_changed,
"back_scroll": backscroll_changed "back_scroll": backscroll_changed