mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Default range of influence is now all players rather than one.
This commit is contained in:
parent
f64549213f
commit
937b7f72ee
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ public class NewTableDialog extends MageDialog {
|
||||||
this.spnFreeMulligans.setValue(Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_NUMBER_OF_FREE_MULLIGANS + versionStr, "0")));
|
this.spnFreeMulligans.setValue(Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_NUMBER_OF_FREE_MULLIGANS + versionStr, "0")));
|
||||||
this.cbMulligan.setSelectedItem(MulliganType.valueByName(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_MULLIGAN_TYPE + versionStr, MulliganType.GAME_DEFAULT.toString())));
|
this.cbMulligan.setSelectedItem(MulliganType.valueByName(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_MULLIGAN_TYPE + versionStr, MulliganType.GAME_DEFAULT.toString())));
|
||||||
|
|
||||||
int range = Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_RANGE + versionStr, "1"));
|
int range = Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_NEW_TABLE_RANGE + versionStr, "0"));
|
||||||
for (RangeOfInfluence roi : RangeOfInfluence.values()) {
|
for (RangeOfInfluence roi : RangeOfInfluence.values()) {
|
||||||
if (roi.getRange() == range) {
|
if (roi.getRange() == range) {
|
||||||
this.cbRange.setSelectedItem(roi);
|
this.cbRange.setSelectedItem(roi);
|
||||||
|
|
Loading…
Reference in a new issue