summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-05-01 18:53:31 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-05-01 18:53:31 -0500
commit82d38dc10d03a2aaf96ac357da3bf1b50abe5b46 (patch)
tree48b89ed7810cc9bce7f2f8ad54283754c40c5e1b /plugins
parenta6f9a402dcfd6b5c687d70e725b17aee314c9876 (diff)
plugins/cheatfind: fix order (nw)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cheatfind/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua
index 8ba7fd98f44..93bca9fed82 100644
--- a/plugins/cheatfind/init.lua
+++ b/plugins/cheatfind/init.lua
@@ -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,