summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r--plugins/cheat/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua
index ecaf6237377..86d36af052e 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -154,8 +154,9 @@ function cheat.startplugin()
frombcd = frombcd,
pairs = pairs,
ipairs = ipairs,
- table_insert = table.insert,
- table_remove = table.remove }
+ table =
+ { insert = table.insert,
+ remove = table.remove } }
cheat.enabled = false
-- verify scripts are valid first
if not cheat.script then