[Arcade] Working on private servers
This commit is contained in:
parent
5cd191f582
commit
c107f4d0d9
@ -31,7 +31,7 @@ public class SetGamePage extends BasePage
|
||||
|
||||
for (GameType type : _manager.getAvailableGames(getPlayer()))
|
||||
{
|
||||
int slot;
|
||||
int slot = -1;
|
||||
|
||||
switch(type.getGameCategory())
|
||||
{
|
||||
@ -47,13 +47,15 @@ public class SetGamePage extends BasePage
|
||||
slot = championSlot;
|
||||
championSlot += 9;
|
||||
break;
|
||||
default: // arcade
|
||||
case ARCADE:
|
||||
slot = arcadeSlot;
|
||||
arcadeSlot++;
|
||||
if (arcadeSlot % 9 == 3)
|
||||
arcadeSlot += 6;
|
||||
}
|
||||
|
||||
if (slot == -1) continue; // ignore EXTRA and TEAM_VARIANT games
|
||||
|
||||
addGameButton(slot, type);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user