From 36e49b08447b7db55764f412053f3164ad1521ba Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 1 Aug 2026 16:13:40 +0000 Subject: [PATCH] Fix matching skip timer: use max instead of abs for skip difference math.abs gave both players bonus time based on the skip difference, meaning the player who skipped less also got extra time from their opponent's skips. Changed to math.max(..., 0) so only the player with more skips gets the bonus, and the player with fewer skips sees no change. Co-Authored-By: Claude Opus 4.6 Claude-Session: https://claude.ai/code/session_01MuDBRvAF5nx9htEHCW2WqZ --- ui/game/timer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/game/timer.lua b/ui/game/timer.lua index 37f5402d..dcc44dfe 100644 --- a/ui/game/timer.lua +++ b/ui/game/timer.lua @@ -551,7 +551,7 @@ function MP.UI.update_matching_skip_timer(from_nemesis) return end - local new_diff = math.abs((MP.GAME.skips_before_pvp or 0) - (MP.GAME.enemy.skips_before_pvp or 0)) + local new_diff = math.max((MP.GAME.skips_before_pvp or 0) - (MP.GAME.enemy.skips_before_pvp or 0), 0) local skips_dx = new_diff - (MP.GAME.skips_difference or 0) MP.GAME.skips_difference = new_diff