forked from github/server
"Luxusgüter werden im 1. Report nicht angezeigt" Preise werden beim Aussetzen neuer Parteien angelegt.
This commit is contained in:
parent
489f661930
commit
433e89d1d6
|
@ -629,6 +629,7 @@ autoseed(newfaction ** players, int nsize, boolean new_island)
|
||||||
assert(r->land && r->units==0);
|
assert(r->land && r->units==0);
|
||||||
u = addplayer(r, addfaction(nextf->email, nextf->password, nextf->race,
|
u = addplayer(r, addfaction(nextf->email, nextf->password, nextf->race,
|
||||||
nextf->lang, nextf->subscription));
|
nextf->lang, nextf->subscription));
|
||||||
|
fix_demand(r);
|
||||||
f = u->faction;
|
f = u->faction;
|
||||||
fset(f, FFL_ISNEW);
|
fset(f, FFL_ISNEW);
|
||||||
f->alliance = nextf->allies;
|
f->alliance = nextf->allies;
|
||||||
|
@ -662,11 +663,6 @@ autoseed(newfaction ** players, int nsize, boolean new_island)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (r!=NULL) {
|
|
||||||
/* reicht das? */
|
|
||||||
fix_demand(r);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (nsize!=0) {
|
if (nsize!=0) {
|
||||||
log_error(("Could not place all factions on the same island as requested\n"));
|
log_error(("Could not place all factions on the same island as requested\n"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue