Update var
This commit is contained in:
@@ -247,10 +247,10 @@ class GameSession extends ChangeNotifier {
|
|||||||
List<int> updatePoints() {
|
List<int> updatePoints() {
|
||||||
List<int> bonusPlayers = [];
|
List<int> bonusPlayers = [];
|
||||||
_sumPoints();
|
_sumPoints();
|
||||||
bool limitExceeded = false;
|
|
||||||
|
|
||||||
if (isPointsLimitEnabled) {
|
if (isPointsLimitEnabled) {
|
||||||
bonusPlayers = _checkHundredPointsReached();
|
bonusPlayers = _checkHundredPointsReached();
|
||||||
|
bool limitExceeded = false;
|
||||||
|
|
||||||
for (int i = 0; i < playerScores.length; i++) {
|
for (int i = 0; i < playerScores.length; i++) {
|
||||||
if (playerScores[i] > pointLimit) {
|
if (playerScores[i] > pointLimit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user