Fix XML cheats which use multiple spaces. (#7998)

This commit is contained in:
Szunti 2021-04-23 23:56:21 +02:00 committed by GitHub
parent 337938f530
commit bf21508faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,6 @@ function xml.conv_cheat(data)
if next(spaces) then
data["cheat"][count]["space"] = {}
for name, space in pairs(spaces) do
data["cheat"][count]["space"] = {}
data["cheat"][count]["space"][name] = { type = space["type"], tag = space["tag"] }
end
end