summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2017-09-03 13:56:44 -0500
committer cracyc <cracyc@users.noreply.github.com>2017-09-03 13:56:44 -0500
commit051a55b274cbc7961905aebe25aaf6e16dd78210 (patch)
treef3c02c708ab8a8bc0bb46d1a277265e0d1a6c40f /plugins/cheat
parent1b75c5e87fed92a59088186a4582b598a4e1a9b8 (diff)
plugins/cheat: oops (nw)
Diffstat (limited to 'plugins/cheat')
-rw-r--r--plugins/cheat/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua
index 70a09e8c690..c05538800e1 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -616,7 +616,7 @@ function cheat.startplugin()
param.index = param.index - 1
param_calc(param)
cheat.cheat_env.param = param.value
- if not is_oneshot() then
+ if not is_oneshot(cheat) then
run_if(cheat, cheat.script.change)
end
return true