diff options
author | 2019-09-09 20:56:39 -0500 | |
---|---|---|
committer | 2019-09-09 20:56:39 -0500 | |
commit | 2c485b158c1c1ccb9434ab6ec4148244dfae586e (patch) | |
tree | 58e9d37887517cb5f001c691d38bc3e2ba46c00e | |
parent | ea6c34dbbc358c898b34384abb3dae9c49c037b0 (diff) |
plugins/cheat: add time functions to cheat sandbox
-rw-r--r-- | plugins/cheat/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index 0f9f4a99e1e..21824626977 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -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 } } |