diff --git a/Source/lang.cpp b/Source/lang.cpp index 0a4ca466..e1189268 100644 --- a/Source/lang.cpp +++ b/Source/lang.cpp @@ -261,9 +261,11 @@ int CEXEBuild::WriteStringTables() { SCRIPT_MSG("Generating language tables... "); // If we have no tables (user didn't set any string and didn't load any NLF) create the default one - LANGID lang = 1033; - StringTable *table = GetTable(lang); - if (!table) return PS_ERROR; + if (!string_tables.size()) { + LANGID lang = 1033; + StringTable *table = GetTable(lang); + if (!table) return PS_ERROR; + } // Fill tables with defaults (if needed) and with instruction strings int st_num = string_tables.size();