summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat
diff options
context:
space:
mode:
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 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 = {}