MassManager: adapt to Mass changes.

Should have caught it earlier. Ugh.
This commit is contained in:
Guillaume Jacquemin 2022-02-11 18:31:45 +01:00
parent afc163f344
commit 2cabe6a3ba
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ auto MassManager::importMass(const std::string& staged_fn, int hangar) -> bool {
std::string source = Utility::Directory::join(_stagingAreaDirectory, staged_fn);
Utility::Directory::copy(source, source + ".tmp");
if(!Mass{source + ".tmp"}.updateSteamId(_steamId))
if(!Mass{source + ".tmp"}.updateAccount(_steamId))
{
_lastError = "The M.A.S.S. file at " + source + " seems to be corrupt.";
Utility::Directory::rm(source + ".tmp");