Skip to content

Fix matching skip timer: use max instead of abs - #523

Merged
V-rtualized merged 1 commit into
mainfrom
claude/fix-matching-skip-abs
Aug 1, 2026
Merged

Fix matching skip timer: use max instead of abs#523
V-rtualized merged 1 commit into
mainfrom
claude/fix-matching-skip-abs

Conversation

@V-rtualized

Copy link
Copy Markdown
Collaborator

math.abs in update_matching_skip_timer 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 timer change.


Generated by Claude Code

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MuDBRvAF5nx9htEHCW2WqZ
@V-rtualized
V-rtualized merged commit c7957f8 into main Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants