Added sound if player leaves table. Changed some sounds.

This commit is contained in:
LevelX2 2014-07-26 14:59:42 +02:00
parent 4efb832b8d
commit ecc6295638
8 changed files with 22 additions and 3 deletions

View file

@ -305,7 +305,7 @@ public class TournamentController {
if (tPlayer != null) {
if (started) {
if (tPlayer.isInTournament()) {
ChatManager.getInstance().broadcast(chatId, "", tPlayer.getPlayer().getName() + " has quit the tournament", MessageColor.BLACK, true, MessageType.STATUS, SoundToPlay.PlayerLeft);
ChatManager.getInstance().broadcast(chatId, "", tPlayer.getPlayer().getName() + " has quit the tournament", MessageColor.BLACK, true, MessageType.STATUS, SoundToPlay.PlayerQuitTournament);
String info;
if (tournament.isDoneConstructing()) {
info = new StringBuilder("during round ").append(tournament.getRounds().size()).toString();