MassManager: move initialisation of fields.

This commit is contained in:
Guillaume Jacquemin 2021-07-21 13:41:30 +02:00
parent a16383183e
commit ec8a6b0c46

View file

@ -25,12 +25,11 @@
static const std::string empty_string = "";
MassManager::MassManager(const std::string& save_path, const std::string& steam_id, bool demo):
_saveDirectory{save_path},
_steamId{steam_id},
_demo{demo},
_stagingAreaDirectory{Utility::Directory::join(Utility::Directory::path(Utility::Directory::executableLocation()), "staging")}
{
_saveDirectory = save_path;
_steamId = steam_id;
_demo = demo;
Containers::arrayReserve(_hangars, 32);
std::string mass_filename = "";