1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-25 05:17:44 +00:00

Properly handle none language

This commit is contained in:
Joshua Goins 2022-04-11 11:38:01 -04:00
parent f244321c5b
commit 42d9234b70

View file

@ -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);