mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-28 19:40:18 +00:00
Add brackets to cheat names
This commit is contained in:
parent
36ac0449d8
commit
2a79912001
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ void CheatManager::save(const std::string& key, const std::vector<std::string>&
|
||||||
if (cellName.compare(0, MAGIC_LEN, SELECTED_MAGIC) == 0) {
|
if (cellName.compare(0, MAGIC_LEN, SELECTED_MAGIC) == 0) {
|
||||||
cellName = cellName.substr(strlen(SELECTED_MAGIC), cellName.length());
|
cellName = cellName.substr(strlen(SELECTED_MAGIC), cellName.length());
|
||||||
if (cheats[key][buildid].find(cellName) != cheats[key][buildid].end()) {
|
if (cheats[key][buildid].find(cellName) != cheats[key][buildid].end()) {
|
||||||
cheatFile += cellName + "\n";
|
cheatFile += "[" + cellName + "]\n";
|
||||||
for (auto& it2 : cheats[key][buildid][cellName]) {
|
for (auto& it2 : cheats[key][buildid][cellName]) {
|
||||||
cheatFile += it2.get<std::string>() + "\n";
|
cheatFile += it2.get<std::string>() + "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue