mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-28 11:30:22 +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) {
|
||||
cellName = cellName.substr(strlen(SELECTED_MAGIC), cellName.length());
|
||||
if (cheats[key][buildid].find(cellName) != cheats[key][buildid].end()) {
|
||||
cheatFile += cellName + "\n";
|
||||
cheatFile += "[" + cellName + "]\n";
|
||||
for (auto& it2 : cheats[key][buildid][cellName]) {
|
||||
cheatFile += it2.get<std::string>() + "\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue