Make sure file hash does not include the | character due to emscripten using it to split a save request.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user