small fix
This commit is contained in:
parent
6a29d2a2d6
commit
cba5aef9f1
@ -143,6 +143,7 @@ public class GameManager implements Listener
|
|||||||
{
|
{
|
||||||
game.addTutorials();
|
game.addTutorials();
|
||||||
}
|
}
|
||||||
|
boolean finished = true;
|
||||||
if(game.EnableTutorials)
|
if(game.EnableTutorials)
|
||||||
{
|
{
|
||||||
for(GameTeam team : game.GetTeamList())
|
for(GameTeam team : game.GetTeamList())
|
||||||
@ -156,11 +157,13 @@ public class GameManager implements Listener
|
|||||||
}
|
}
|
||||||
if(!team.getTutorial().hasEnded())
|
if(!team.getTutorial().hasEnded())
|
||||||
{
|
{
|
||||||
|
finished = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!finished)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
double percentage = (double) (System.currentTimeMillis() - game.GetStateTime()) / game.PrepareTime;
|
double percentage = (double) (System.currentTimeMillis() - game.GetStateTime()) / game.PrepareTime;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user