forked from github/server
bugfix englische resourcen-namen
This commit is contained in:
parent
50f28ae59b
commit
af9422a0df
|
@ -2163,7 +2163,7 @@ display_item(faction *f, unit *u, const item_type * itype)
|
|||
}
|
||||
if (!fp) {
|
||||
name = resourcename(itype->rtype, 0);
|
||||
sprintf(filename, "%s/items/%s", resourcepath(), name);
|
||||
sprintf(filename, "%s/%s/items/%s", resourcepath(), locale_name(default_locale), name);
|
||||
fp = fopen(filename, "r");
|
||||
}
|
||||
if (!fp) return false;
|
||||
|
|
Loading…
Reference in New Issue