final tutorial implementation.

This commit is contained in:
Sarah 2015-11-21 18:24:17 +01:00
parent 15032ac7ff
commit 171696ff0d

View File

@ -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())
{