diff --git a/src/common/modules/autoseed.c b/src/common/modules/autoseed.c index 61ed97b41..101dfa540 100644 --- a/src/common/modules/autoseed.c +++ b/src/common/modules/autoseed.c @@ -316,7 +316,14 @@ autoseed(newfaction ** players, int nsize) if (rmin!=NULL) { region_list * rlist = NULL, * rptr; faction * f; - get_island(rmin, &rlist); + direction_t d; + for (d=0;d!=MAXDIRECTIONS;++d) { + region * rn = rconnect(rmin, d); + if (rn && rn->land) { + get_island(rn, &rlist); + break; + } + } for (rptr=rlist;rptr;rptr=rptr->next) { region * r = rlist->data; unit * u; diff --git a/src/scripts/eressea.lua b/src/scripts/eressea.lua index d0d6449a5..4faf59ba9 100644 --- a/src/scripts/eressea.lua +++ b/src/scripts/eressea.lua @@ -71,8 +71,6 @@ function process(orders) autoseed(basepath .. "/newfactions") - autoseed(basepath .. "/newfactions") - write_passwords() write_reports()