Build viewer/editor #13
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ auto MassManager::importMass(const std::string& staged_fn, int hangar) -> bool {
|
||||||
std::string source = Utility::Directory::join(_stagingAreaDirectory, staged_fn);
|
std::string source = Utility::Directory::join(_stagingAreaDirectory, staged_fn);
|
||||||
Utility::Directory::copy(source, source + ".tmp");
|
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.";
|
_lastError = "The M.A.S.S. file at " + source + " seems to be corrupt.";
|
||||||
Utility::Directory::rm(source + ".tmp");
|
Utility::Directory::rm(source + ".tmp");
|
||||||
|
|
Loading…
Reference in a new issue