From 970fdcb045a7843779c4822b8cd1fb1160fc6893 Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Mon, 29 Jan 2024 16:48:41 +0100 Subject: [PATCH] score was off by one --- src/text/Score.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/Score.cpp b/src/text/Score.cpp index ace84a9..b0f8f3e 100644 --- a/src/text/Score.cpp +++ b/src/text/Score.cpp @@ -34,6 +34,6 @@ void Score::incrementScore(const Side side) { break; } - if (incrementedScore > MAX_SCORE) + if (incrementedScore >= MAX_SCORE) sideWon_ = side; } \ No newline at end of file