[Arcade] Working on private servers

This commit is contained in:
Shaun Bennett 2015-05-17 16:31:09 -05:00
parent 5cd191f582
commit c107f4d0d9

View File

@ -31,7 +31,7 @@ public class SetGamePage extends BasePage
for (GameType type : _manager.getAvailableGames(getPlayer())) for (GameType type : _manager.getAvailableGames(getPlayer()))
{ {
int slot; int slot = -1;
switch(type.getGameCategory()) switch(type.getGameCategory())
{ {
@ -47,13 +47,15 @@ public class SetGamePage extends BasePage
slot = championSlot; slot = championSlot;
championSlot += 9; championSlot += 9;
break; break;
default: // arcade case ARCADE:
slot = arcadeSlot; slot = arcadeSlot;
arcadeSlot++; arcadeSlot++;
if (arcadeSlot % 9 == 3) if (arcadeSlot % 9 == 3)
arcadeSlot += 6; arcadeSlot += 6;
} }
if (slot == -1) continue; // ignore EXTRA and TEAM_VARIANT games
addGameButton(slot, type); addGameButton(slot, type);
} }
} }