final tutorial implementation.
This commit is contained in:
parent
15032ac7ff
commit
171696ff0d
@ -146,22 +146,14 @@ public class GameManager implements Listener
|
||||
boolean finished = true;
|
||||
if(game.EnableTutorials)
|
||||
{
|
||||
for(final GameTeam team : game.GetTeamList())
|
||||
for(GameTeam team : game.GetTeamList())
|
||||
{
|
||||
if(team.getTutorial() != null)
|
||||
{
|
||||
if(!team.getTutorial().hasStarted())
|
||||
{
|
||||
Manager.runSync(new Runnable()
|
||||
{
|
||||
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
team.getTutorial().setTeam(team);
|
||||
team.getTutorial().start();
|
||||
}
|
||||
});
|
||||
team.getTutorial().setTeam(team);
|
||||
team.getTutorial().start();
|
||||
}
|
||||
if(!team.getTutorial().hasEnded())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user