plugins/cheat: add time functions to cheat sandbox

This commit is contained in:
cracyc 2019-09-09 20:56:39 -05:00
parent ea6c34dbbc
commit 2c485b158c

View File

@ -391,6 +391,7 @@ function cheat.startplugin()
time = time,
input_trans = input_trans,
input_run = function(list) input_run(cheat, list) end,
os = { time = os.time, date = os.date, difftime = os.difftime },
table =
{ insert = table.insert,
remove = table.remove } }