[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()))
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user