mirror of https://github.com/FreeCol/freecol.git
Allows the founding father selection to be postponed without an error message. We can choose to force the choice to be made before the turn has ended, but that is currently not implemented.
This commit is contained in:
parent
1a1cb33420
commit
9981570e24
|
@ -3060,7 +3060,13 @@ public final class InGameController extends FreeColClientHolder {
|
|||
*/
|
||||
private boolean chooseFoundingFather(List<FoundingFather> ffs,
|
||||
FoundingFather ff) {
|
||||
if (ffs == null) return false;
|
||||
if (ffs == null) {
|
||||
return false;
|
||||
}
|
||||
if (ff == null) {
|
||||
// The player has postponed the selection.
|
||||
return false;
|
||||
}
|
||||
|
||||
final Player player = getMyPlayer();
|
||||
player.setCurrentFather(ff);
|
||||
|
|
Loading…
Reference in New Issue