plugins/cheat: oops (nw)

This commit is contained in:
cracyc 2017-06-12 07:58:48 -05:00
parent 96ed3869ff
commit 72423541d2

View File

@ -340,7 +340,7 @@ function cheat.startplugin()
local hotmod = 1 local hotmod = 1
local hotkeylist = {} local hotkeylist = {}
local function run_if(func) if func then func() end return func or false end 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 function menu_populate()
local menu = {} local menu = {}