plugins/cheat: fix regions in xml cheats too

This commit is contained in:
cracyc 2021-04-23 16:58:47 -05:00
parent bf21508faa
commit 85b9bcd670

View File

@ -270,7 +270,6 @@ function xml.conv_cheat(data)
if next(regions) then
data["cheat"][count]["region"] = {}
for name, region in pairs(regions) do
data["cheat"][count]["region"] = {}
data["cheat"][count]["region"][name] = region
end
end