summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/cheat_xml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cheat/cheat_xml.lua')
-rw-r--r--plugins/cheat/cheat_xml.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cheat/cheat_xml.lua b/plugins/cheat/cheat_xml.lua
index 32f82d14d9c..07816859cdf 100644
--- a/plugins/cheat/cheat_xml.lua
+++ b/plugins/cheat/cheat_xml.lua
@@ -172,7 +172,7 @@ function xml.conv_cheat(data)
end
local function convert_output(data)
- local str = "draw_text(screen,"
+ local str = "draw_text(ui,"
if data["align"] then
str = str .. data["align"]
else
@@ -276,6 +276,7 @@ function xml.conv_cheat(data)
if output then
data["cheat"][count]["screen"] = {}
data["cheat"][count]["screen"]["screen"] = ":screen"
+ data["cheat"][count]["screen"]["ui"] = "ui"
end
end
return data["cheat"]