diff options
author | 2016-04-07 19:38:18 -0500 | |
---|---|---|
committer | 2016-04-07 19:42:18 -0500 | |
commit | d88bdb6869f49548dfa4ddfd7a5dd43a4df594b2 (patch) | |
tree | eb555bfebd63803da48693b39c1b11bfa493fa93 /plugins/cheat/init.lua | |
parent | 9f95c2e6cb5aa3c48cfc499d45ba9f705385f23e (diff) |
plugins/cheat: fix more (nw)
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 |