Merge branch 'pregametutorial' of http://184.154.0.242:7990/scm/min/mineplex into type-wars
# Conflicts: # Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java
This commit is contained in:
commit
fac7d152ae
|
@ -64,7 +64,7 @@ public abstract class GameTutorial
|
|||
}
|
||||
else
|
||||
{
|
||||
Manager.GetChat().Silence((System.currentTimeMillis() - Manager.GetGame().GetStateTime()) + 7000, false);
|
||||
Manager.GetChat().Silence(7000, false);
|
||||
onPhaseChange(_currentPhase);
|
||||
_currentPhase.start();
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public abstract class GameTutorial
|
|||
if(TeleportOnEnd)
|
||||
_team.SpawnTeleport();
|
||||
}
|
||||
Manager.GetChat().Silence((System.currentTimeMillis() - Manager.GetGame().GetStateTime()) + 5000, false);
|
||||
Manager.GetChat().Silence(5000, false);
|
||||
Manager.GetGame().PrepareTime = (System.currentTimeMillis() - Manager.GetGame().GetStateTime()) + 5000;
|
||||
}
|
||||
|
||||
|
|
|
@ -113,9 +113,8 @@ public abstract class TutorialPhase
|
|||
players[i] = player;
|
||||
i++;
|
||||
}
|
||||
UtilTextMiddle.display("", text.getText(), 0, text.getStayTime(), 0, players);
|
||||
onMessageDisplay(text);
|
||||
try
|
||||
displayMessage(text);
|
||||
UtilTextMiddle.display("", text.getText(), 0, text.getStayTime(), 0, players); try
|
||||
{
|
||||
Thread.sleep(text.getStayTime() * 50);
|
||||
} catch (InterruptedException e)
|
||||
|
|
|
@ -35,4 +35,9 @@ public class TutorialText
|
|||
return _stayTime;
|
||||
}
|
||||
|
||||
public void setText(String text)
|
||||
{
|
||||
_text = text;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue