forked from github/server
- Kleine Fixes
This commit is contained in:
parent
654388b6d8
commit
d31b8e7931
|
@ -226,6 +226,8 @@ restart(unit *u, int race)
|
||||||
faction *f = addplayer(u->region, u->faction->email, race)->faction;
|
faction *f = addplayer(u->region, u->faction->email, race)->faction;
|
||||||
f->magiegebiet = u->faction->magiegebiet;
|
f->magiegebiet = u->faction->magiegebiet;
|
||||||
f->options = u->faction->options;
|
f->options = u->faction->options;
|
||||||
|
assert(u->faction->locale);
|
||||||
|
f->locale = strdup(u->faction->locale);
|
||||||
destroyfaction(u->faction);
|
destroyfaction(u->faction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue