- clear the Dehacked string table after passing it to GStrings.
For some reason std::move does not work here so make sure it won't stick around.
This commit is contained in:
parent
d001c3464d
commit
7f7edc4f72
3 changed files with 4 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ public:
|
|||
void LoadStrings(const char *language);
|
||||
void UpdateLanguage(const char* language);
|
||||
StringMap GetDefaultStrings() { return allStrings[default_table]; } // Dehacked needs these for comparison
|
||||
void SetOverrideStrings(StringMap && map)
|
||||
void SetOverrideStrings(StringMap & map)
|
||||
{
|
||||
allStrings.Insert(override_table, map);
|
||||
UpdateLanguage(nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue