summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r--plugins/cheat/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua
index 0e5abf447ab..4755d8106cd 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -477,7 +477,7 @@ function cheat.startplugin()
cheats = load_cheats()
local json = require("json")
local file = io.open(manager:machine():options().entries.cheatpath:value() .. "/output.json", "w")
- file:write(json.stringify(cheats))
+ file:write(json.stringify(cheats, {indent = true}))
file:close()
for num, cheat in pairs(cheats) do
parse_cheat(cheat)