Skip to content

Commit 8a96bc6

Browse files
committed
fix: WinCount regression in versus modes
Fixes #3607
1 parent ccced12 commit 8a96bc6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

external/script/start.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,10 @@ function start.f_selectReset(hardReset, preserveProgress)
17631763
if not preserveProgress then
17641764
resetGameStats()
17651765
setMatchNo(1)
1766-
setWinCount(1, 0)
1767-
setWinCount(2, 0)
1766+
if main.elimination then
1767+
setWinCount(1, 0)
1768+
setWinCount(2, 0)
1769+
end
17681770
setConsecutiveWins(1, 0)
17691771
setConsecutiveWins(2, 0)
17701772
end

0 commit comments

Comments
 (0)