Skip to content

Commit

Permalink
Merge pull request #6159 from SJuliez/protomek-cleanup
Browse files Browse the repository at this point in the history
Protomek code and comment cleanup
  • Loading branch information
SJuliez authored Nov 2, 2024
2 parents 43a683f + d7260f3 commit 5e603d4
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 449 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
import megamek.client.ui.Messages;
import megamek.client.ui.swing.ChoiceDialog;
import megamek.client.ui.swing.ClientGUI;
import megamek.client.ui.swing.GUIPreferences;
import megamek.client.ui.swing.util.UIUtil;
import megamek.client.ui.swing.widget.BackGroundDrawer;
import megamek.client.ui.swing.widget.PMUtil;
import megamek.client.ui.swing.widget.PicMap;
Expand All @@ -51,8 +49,6 @@
import megamek.common.*;
import megamek.common.equipment.MiscMounted;
import megamek.common.options.OptionsConstants;
import megamek.common.preference.IPreferenceChangeListener;
import megamek.common.preference.PreferenceChangeEvent;
import megamek.common.util.fileUtils.MegaMekFile;

/**
Expand Down Expand Up @@ -406,7 +402,7 @@ private void displaySlots() {
}
// Protomeks have different system names.
if (en instanceof ProtoMek) {
sb.append(ProtoMek.systemNames[cs.getIndex()]);
sb.append(ProtoMek.SYSTEM_NAMES[cs.getIndex()]);
} else {
sb.append(((Mek) en).getSystemName(cs
.getIndex()));
Expand Down
Loading

0 comments on commit 5e603d4

Please sign in to comment.