diff --git a/menus/submit_score.gd b/menus/submit_score.gd index d96c04b..4b4d5dd 100644 --- a/menus/submit_score.gd +++ b/menus/submit_score.gd @@ -16,6 +16,7 @@ onready var tab_container: TabContainer = $"%TabContainer" func _ready() -> void: yield(get_tree(), "idle_frame") _set_tag() + print(_scoreboard_tag) $"%YesScore".grab_focus() Fade.fade_in(0.4) @@ -23,7 +24,6 @@ func _ready() -> void: func _on_YesScore_pressed() -> void: _scoreboard_id = LevelData.levels[Game.current_level].scores_id _score_value = Game.final_score - print(_score_value) tab_container.current_tab = 2 if yield(_submit(), "completed"): tab_container.current_tab = 3 @@ -42,7 +42,6 @@ func _on_NoScore_pressed() -> void: func _on_YesTime_pressed() -> void: _scoreboard_id = LevelData.levels[Game.current_level].times_id _score_value = int(Game.time * 1000.0) - print(_score_value) tab_container.current_tab = 2 if yield(_submit(), "completed"): tab_container.current_tab = 3 @@ -73,7 +72,7 @@ func _set_tag() -> void: _scoreboard_tag = "spicy" Game.Difficulty.PUNGENT: _scoreboard_tag = "pungent" - if Game.has_collection_bonus(): + if Game.keys >= 50 and Game.shards >= 5: _scoreboard_tag += "-100%" else: _scoreboard_tag += "-any%"