diff options
author | 2016-04-13 08:13:00 -0500 | |
---|---|---|
committer | 2016-04-13 08:13:00 -0500 | |
commit | b66b2e679c3844bcf26ed5e236e30ffef41816c6 (patch) | |
tree | 4c989eeb3ab8c16c2c97bf2a7f613750983d7cf1 /plugins/cheat/init.lua | |
parent | 52b99cfec8e8c69c18bf974d62d1c3072cb413c9 (diff) |
plugins/cheat: make more compatible (nw)
Diffstat (limited to 'plugins/cheat/init.lua')
-rw-r--r-- | plugins/cheat/init.lua | 5 |
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 |