diff options
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r-- | plugins/cheat/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index 705ecca77cb..94542aaafae 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -190,8 +190,8 @@ function cheat.startplugin() local scr scr = manager:machine().screens[screen] if not scr then - print("error loading cheat script: " .. cheat.desc) - cheat = nil + local tag + tag, scr = next(manager:machine().screens) -- get any screen return end cheat.cheat_env[name] = scr |