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