mirror of
https://github.com/lov3b/Pong.git
synced 2025-06-27 23:50:18 +02:00
score was off by one
This commit is contained in:
@ -34,6 +34,6 @@ void Score::incrementScore(const Side side) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (incrementedScore > MAX_SCORE)
|
||||
if (incrementedScore >= MAX_SCORE)
|
||||
sideWon_ = side;
|
||||
}
|
Reference in New Issue
Block a user