mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Select pet must use an English string to store pet selection
This commit is contained in:
@@ -88,8 +88,8 @@ public enum CSubmenuChallenges implements ICDoc {
|
||||
view.getCbPlant().addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(final ActionEvent arg0) {
|
||||
final Localizer localizer = Localizer.getInstance();
|
||||
quest.selectPet(0, view.getCbPlant().isSelected() ? localizer.getMessage("lblPlant") : null);
|
||||
// This can't be translated. As the English string "Plant" is used to find the Plant pet.
|
||||
quest.selectPet(0, view.getCbPlant().isSelected() ? "Plant" : null);
|
||||
quest.save();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -88,6 +88,7 @@ public enum CSubmenuDuels implements ICDoc {
|
||||
view.getCbPlant().addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(final ActionEvent arg0) {
|
||||
// This can't be translated. As the English string "Plant" is used to find the Plant pet.
|
||||
quest.selectPet(0, view.getCbPlant().isSelected() ? "Plant" : null);
|
||||
quest.save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user