diff --git a/autoloads/game.gd b/autoloads/game.gd index 5d78f40..01bd7b4 100644 --- a/autoloads/game.gd +++ b/autoloads/game.gd @@ -114,12 +114,12 @@ func tally_scores() -> void: shards_collected[5] = true # 100% time bonus if time < map.target_time_100: - time_bonus = max(2500 - 2500 * int(time / map.target_time_100), 0) + time_bonus = max(2500 - int(2500.0 * time / map.target_time_100), 0) shards_collected[6] = true else: # any% time bonus if time < map.target_time_any: - time_bonus = max(2500 - 2500 * int(time / map.target_time_any), 0) + time_bonus = max(2500 - int(2500.0 * time / map.target_time_any), 0) shards_collected[6] = true # life bonus if deaths == 0: