forked from github/server
small bug in raceinfo construction
This commit is contained in:
parent
3918484f42
commit
81d3e94b6f
1 changed files with 1 additions and 1 deletions
|
@ -2298,7 +2298,7 @@ display_race(faction *f, unit *u, const race * rc)
|
|||
size -= rsize;
|
||||
bufp += rsize;
|
||||
|
||||
key = mkname("raceinfo", name);
|
||||
key = mkname("raceinfo", rc->_name[0]);
|
||||
info = locale_string(f->locale, key);
|
||||
if (info==key || strcmp(info, key)==0) {
|
||||
info = locale_string(f->locale, mkname("raceinfo", "no_info"));
|
||||
|
|
Loading…
Reference in a new issue