mirror of
https://github.com/lov3b/Pong.git
synced 2025-01-18 12:40:12 +01:00
score was off by one
This commit is contained in:
parent
59c1ab4533
commit
970fdcb045
@ -34,6 +34,6 @@ void Score::incrementScore(const Side side) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (incrementedScore > MAX_SCORE)
|
||||
if (incrementedScore >= MAX_SCORE)
|
||||
sideWon_ = side;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user