diff options
author | Aki <please@ignore.pl> | 2022-10-14 23:52:53 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-10-14 23:52:53 +0200 |
commit | 58581f2ac25b68b6dd08b2336514f679af40fb64 (patch) | |
tree | 803e5377a977933bdb85dba9004ea6f4cfe01101 /StarsEx/ContentBundle.cpp | |
parent | c9cad4935e1fa1358ca443237f25c1308f66c90a (diff) | |
download | starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.zip starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.tar.gz starshatter-58581f2ac25b68b6dd08b2336514f679af40fb64.tar.bz2 |
Fixed ContentBundle loading locale at init
Diffstat (limited to 'StarsEx/ContentBundle.cpp')
-rw-r--r-- | StarsEx/ContentBundle.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/StarsEx/ContentBundle.cpp b/StarsEx/ContentBundle.cpp index cd10893..99fee45 100644 --- a/StarsEx/ContentBundle.cpp +++ b/StarsEx/ContentBundle.cpp @@ -25,15 +25,9 @@ ContentBundle* ContentBundle::GetInstance() // +--------------------------------------------------------------------+ -ContentBundle::ContentBundle() : ContentBundle("content", nullptr) +ContentBundle::ContentBundle(Locale* locale) { -} - -// +--------------------------------------------------------------------+ - -ContentBundle::ContentBundle(const char* bundle, Locale* locale) -{ - Load(bundle, locale); + UseLocale(locale); } // +--------------------------------------------------------------------+ |