Fixing a cheat plugin bug

This commit is contained in:
npwoods 2020-09-19 12:02:29 -04:00 committed by GitHub
parent 8d3980b1bf
commit b8d6be3320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -938,6 +938,7 @@ function cheat.startplugin()
if cheat.parameter.item then
intf.parameter.item = {}
for idx, item in pairs(cheat.parameter.item) do
intf.parameter.item[idx] = {}
intf.parameter.item[idx].text = cheat.parameter.item[idx].text
intf.parameter.item[idx].value = cheat.parameter.item[idx].value
end