mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
For non-network lobby, default new players to AI
This commit is contained in:
@@ -138,7 +138,7 @@ public abstract class GameLobby {
|
||||
|
||||
public void addSlot() {
|
||||
final int newIndex = getNumberOfSlots();
|
||||
final LobbySlotType type = allowNetworking ? LobbySlotType.OPEN : LobbySlotType.LOCAL;
|
||||
final LobbySlotType type = allowNetworking ? LobbySlotType.OPEN : LobbySlotType.AI;
|
||||
addSlot(new LobbySlot(type, null, newIndex, newIndex, false, !allowNetworking, Collections.<AIOption>emptySet()));
|
||||
}
|
||||
protected final void addSlot(final LobbySlot slot) {
|
||||
|
||||
Reference in New Issue
Block a user