Make sure file hash does not include the | character due to emscripten using it to split a save request.

This commit is contained in:
2024-03-29 22:18:00 -05:00
parent ad79910848
commit 3c2c19f822
3 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -267,9 +267,11 @@ namespace olc::utils
// Value does not contain separator, so just write out
file << property.second.GetString(i) << ((nItems > 1) ? sSeperator : "");
}
std::cout<<"Written: "<<property.second.GetString(i)<<std::endl;
nItems--;
}
std::cout<<"Write newline."<<std::endl;
// Property written, move to next line
file << "\n";
}