counter fixed at 200
This commit is contained in:
@@ -1023,6 +1023,9 @@ void Plansza::update_score() {
|
|||||||
if (scoreClock.getElapsedTime().asMilliseconds() > 500) {
|
if (scoreClock.getElapsedTime().asMilliseconds() > 500) {
|
||||||
score++;
|
score++;
|
||||||
ultimateCounter++;
|
ultimateCounter++;
|
||||||
|
if (ultimateCounter >= 200) {
|
||||||
|
ultimateCounter = 200;
|
||||||
|
}
|
||||||
scoreClock.restart();
|
scoreClock.restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user