plugins/cheatfind: fix order (nw)

This commit is contained in:
cracyc 2016-05-01 18:53:31 -05:00
parent a6f9a402dc
commit 82d38dc10d

View File

@ -150,7 +150,7 @@ function cheatfind.startplugin()
oldc = frombcd(old)
newc = frombcd(new)
end
if cfoper[oper](oldc, newc, val, addr) then
if cfoper[oper](newc, oldc, val, addr) then
ret[#ret + 1] = { addr = addr,
oldval = old,
newval = new,