1
0
Fork 0

Typo in "Addon-config: don’t overwrite autosaved props" (ticket 2059)

This commit is contained in:
Michael Danilov 2021-08-19 01:49:38 +02:00
parent 4bf88a0b67
commit 985abe8d43

View file

@ -122,7 +122,7 @@ AddonManager::loadConfigFileIfExists(const SGPath& configFile)
// copy if it's NOT marked archive. In other words, we can replace
// values from defaults, but not autosave
return dstNode->getAttribute(SGPropertyNode::ARCHIVE) == false;
return dstNode->getAttribute(SGPropertyNode::USERARCHIVE) == false;
});
SG_LOG(SG_GENERAL, SG_INFO,