fixing property change order profile save

This commit is contained in:
Micah Acinapura
2019-09-08 21:33:56 -04:00
parent 0ba0a9f852
commit 334b8d1269
+2 -2
View File
@@ -402,8 +402,8 @@ int saveLastChangeToProfile(lua_State* L) {
std::string dataString = "${ASSETS}/";
std::string assetPath = absPath(fmt::format("{}{}.scene", dataString, asset));
std::string tempAssetPath = absPath(fmt::format("{}{}.scene.tmp", dataString, asset));
std::string strReplace = "--customizations";
std::string strNew = fmt::format("{}\n{}",strReplace, actualLastLine);
std::string strReplace = "--customizationsend";
std::string strNew = fmt::format("{}\n{}",actualLastLine, strReplace);
std::ifstream filein(assetPath);
std::ofstream fileout(tempAssetPath);
if(!filein) {