summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2017-06-12 07:58:48 -0500
committer cracyc <cracyc@users.noreply.github.com>2017-06-12 07:58:48 -0500
commit72423541d2338cae8be5dc772fd5090acc8ec03e (patch)
tree8f691632ed4c18d90e7dea9a2675e4fe480962cf /plugins/cheat/init.lua
parent96ed3869ff8461670a940a0ef4cc3e0274938a29 (diff)
plugins/cheat: oops (nw)
Diffstat (limited to 'plugins/cheat/init.lua')
-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 65e7cd2eeb3..3c33351a819 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -340,7 +340,7 @@ function cheat.startplugin()
local hotmod = 1
local hotkeylist = {}
local function run_if(func) if func then func() end return func or false end
- local function is_oneshot(cheat) return cheat.script and not cheat.script.run and not cheat.script.on end
+ local function is_oneshot(cheat) return cheat.script and not cheat.script.run and not cheat.script.off end
local function menu_populate()
local menu = {}