Skip to content

bug: knife kills from other rounds don't count toward a best-round highlight - #463

Merged
lukepolo merged 1 commit into
mainfrom
bug/knife-kills-count
Sep 30, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/knife-kills-count

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

With "always include knife" on, auto highlights append knife kills from other rounds to the best-round reel, and those kills were added to its kill count (a 4K round + a later stab showed as 5K).

  • The combined reel keeps the best round's kills_count; the title still reads "Best Round (4K) + 1 Knife Kill"
  • countKillsForSpec uses the spec's kills_count when present instead of recounting every kill in the footage, so the stored badge matches the burned-in chip
  • Knife kills inside the best round still count (they're part of its footage)

Merge/deploy: api only, no migration; existing clips keep their old count until re-rendered.
Tests: new cases in clips.service.spec.ts fail on main (5 vs 4) and pass here; unit suite green.

Fixes 5stackgg/5stack-panel#636

@lukepolo
lukepolo merged commit 81b14ec into main Sep 30, 2026
2 checks passed
@lukepolo
lukepolo deleted the bug/knife-kills-count branch September 30, 2026 00:13
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.

[BUG] knifes should not be counted to round total unless its part of that round

1 participant