summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/cheat/init.lua
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-04-13 08:13:00 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-04-13 08:13:00 -0500
commitb66b2e679c3844bcf26ed5e236e30ffef41816c6 (patch)
tree4c989eeb3ab8c16c2c97bf2a7f613750983d7cf1 /plugins/cheat/init.lua
parent52b99cfec8e8c69c18bf974d62d1c3072cb413c9 (diff)
plugins/cheat: make more compatible (nw)
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