- Small fix for multiplayer tab labels

This commit is contained in:
moomarc
2013-11-28 09:02:39 +00:00
parent c898e1321f
commit 43140b2db3

View File

@@ -155,7 +155,7 @@ public enum VSubmenuConstructed implements IVSubmenu<CSubmenuConstructed> {
}
else {
for (int i = currentNumTabsShown; i <= toShow; i++) {
tabPane.add("Player " + i, playerPanels.get(i));
tabPane.add("Player " + (i + 1), playerPanels.get(i));
}
currentNumTabsShown = tabPane.getComponentCount() - 1;
}