From bafab8d75ac46737273d5c3bc22b9ab694f8938c Mon Sep 17 00:00:00 2001 From: Andrii Solianyk Date: Thu, 16 Jan 2025 21:31:34 +0100 Subject: [PATCH] counter fixed at 200 --- sources/Plansza.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/Plansza.cpp b/sources/Plansza.cpp index 33c4110..48cfe8e 100644 --- a/sources/Plansza.cpp +++ b/sources/Plansza.cpp @@ -1023,6 +1023,9 @@ void Plansza::update_score() { if (scoreClock.getElapsedTime().asMilliseconds() > 500) { score++; ultimateCounter++; + if (ultimateCounter >= 200) { + ultimateCounter = 200; + } scoreClock.restart(); }