ok, figured out what it was, it was some -1 checks i forgot to do, NOW its sound

This commit is contained in:
JHDev2006
2025-09-21 13:22:09 +01:00
parent 04ac4ba97b
commit 321ebb8e6b

View File

@@ -355,6 +355,7 @@ func check_for_medal_achievement() -> void:
level += 1
world += 1
if marathon_best_any_time >= 0 and marathon_best_warpless_time >= 0:
if marathon_best_any_time <= GOLD_ANY_TIMES[Global.current_campaign] and marathon_best_warpless_time <= GOLD_WARPLESS_TIMES[Global.current_campaign]:
has_gold_full = true
if marathon_best_any_time <= GOLD_ANY_TIMES[Global.current_campaign] * MEDAL_CONVERSIONS[1] and marathon_best_warpless_time <= GOLD_WARPLESS_TIMES[Global.current_campaign] * MEDAL_CONVERSIONS[1]: