mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Fix name changes to be compatible with old scripts
This commit is contained in:
parent
9e3549fbe1
commit
a294f80baf
1 changed files with 3 additions and 3 deletions
|
@ -1717,10 +1717,10 @@ public class TablesPanel extends javax.swing.JPanel {
|
||||||
options.setBannedUsers(IgnoreList.getIgnoredUsers(serverAddress));
|
options.setBannedUsers(IgnoreList.getIgnoredUsers(serverAddress));
|
||||||
table = SessionHandler.createTable(roomId, options);
|
table = SessionHandler.createTable(roomId, options);
|
||||||
|
|
||||||
SessionHandler.joinTable(roomId, table.getTableId(), "H", PlayerType.HUMAN, 1, testDeck, "");
|
SessionHandler.joinTable(roomId, table.getTableId(), "Human", PlayerType.HUMAN, 1, testDeck, "");
|
||||||
SessionHandler.joinTable(roomId, table.getTableId(), "C1", aiType, 1, testDeck, "");
|
SessionHandler.joinTable(roomId, table.getTableId(), "Computer", aiType, 1, testDeck, "");
|
||||||
for (int i=2 ; i < numSeats ; i++) {
|
for (int i=2 ; i < numSeats ; i++) {
|
||||||
SessionHandler.joinTable(roomId, table.getTableId(), "C" + i, aiType, 1, testDeck, "");
|
SessionHandler.joinTable(roomId, table.getTableId(), "Computer" + i, aiType, 1, testDeck, "");
|
||||||
}
|
}
|
||||||
SessionHandler.startMatch(roomId, table.getTableId());
|
SessionHandler.startMatch(roomId, table.getTableId());
|
||||||
} catch (HeadlessException ex) {
|
} catch (HeadlessException ex) {
|
||||||
|
|
Loading…
Reference in a new issue