mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 21:07:46 +00:00
Properly handle none language
This commit is contained in:
parent
f244321c5b
commit
42d9234b70
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ MainWindow::MainWindow(GameData& data) : data(data) {
|
|||
fmt::print("page, row count = {}, start id = {}\n", page.rowCount, page.startId);
|
||||
|
||||
std::string path;
|
||||
if(exh.language.empty()) {
|
||||
if(exh.language[0] == Language::None) {
|
||||
path = getEXDFilename(exh, nameLowercase, "", page);
|
||||
} else {
|
||||
path = getEXDFilename(exh, nameLowercase, getLanguageCode(Language::English), page);
|
||||
|
|
Loading…
Add table
Reference in a new issue