plugin/cheat: use print_error to make testing easier (nw)

This commit is contained in:
cracyc 2018-03-05 09:22:44 -06:00
parent efc1de1887
commit efe9644b5c

View File

@ -178,7 +178,7 @@ function cheat.startplugin()
end
local function cheat_error(cheat, msg)
emu.print_verbose("error cheat script error: \"" .. cheat.desc .. "\" " .. msg)
emu.print_error("error cheat script error: \"" .. cheat.desc .. "\" " .. msg)
cheat.desc = cheat.desc .. " error"
cheat.script = nil
cheat.enabled = nil