plugins/cheat: make more compatible (nw)

This commit is contained in:
cracyc 2016-04-13 08:13:00 -05:00
parent 52b99cfec8
commit b66b2e679c

View File

@ -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