From 2cabe6a3ba3a1c12a85fdb4e2c42c0f3be5ab28a Mon Sep 17 00:00:00 2001 From: William JCM Date: Fri, 11 Feb 2022 18:31:45 +0100 Subject: [PATCH] MassManager: adapt to Mass changes. Should have caught it earlier. Ugh. --- src/MassManager/MassManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MassManager/MassManager.cpp b/src/MassManager/MassManager.cpp index a385df9..d6338c3 100644 --- a/src/MassManager/MassManager.cpp +++ b/src/MassManager/MassManager.cpp @@ -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");