Use the more verbose title instead of name for duels and challenges in quests (it used to be this way).

This commit is contained in:
RumbleBBU
2012-12-07 11:45:29 +00:00
parent 2791e4e72f
commit 326b36ca2c
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ class PnlEvent extends JPanel {
hSrc = img.getHeight(null);
// Title and description
this.rad = new FRadioButton(event.getName());
this.rad = new FRadioButton(event.getTitle());
this.rad.setFont(FSkin.getBoldFont(16));
final FTextArea tarDesc = new FTextArea();

View File

@@ -330,7 +330,7 @@ public class SSubmenuQuestUtil {
MatchStartHelper msh = new MatchStartHelper();
msh.addPlayer(Singletons.getControl().getLobby().getQuestPlayer(), humanStart);
LobbyPlayer aiPlayer = Singletons.getControl().getLobby().findLocalPlayer(PlayerType.COMPUTER, event.getName());
LobbyPlayer aiPlayer = Singletons.getControl().getLobby().findLocalPlayer(PlayerType.COMPUTER, event.getTitle());
aiPlayer.setPicture(event.getIconFilename());
msh.addPlayer(aiPlayer, aiStart);