forked from github/server
Rassnfix an der korrektne stelle
This commit is contained in:
parent
c44db47b0b
commit
711dbd8899
|
@ -284,6 +284,7 @@ read_newfactions(const char * filename)
|
|||
nf = calloc(sizeof(newfaction), 1);
|
||||
nf->email = strdup(email);
|
||||
nf->race = rc_find(race);
|
||||
if (nf->race==NULL) nf->race = findrace(race, default_locale);
|
||||
nf->lang = find_locale(lang);
|
||||
nf->bonus = bonus;
|
||||
assert(nf->race && nf->email && nf->lang);
|
||||
|
|
Loading…
Reference in New Issue