From 2c485b158c1c1ccb9434ab6ec4148244dfae586e Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 9 Sep 2019 20:56:39 -0500 Subject: plugins/cheat: add time functions to cheat sandbox --- plugins/cheat/init.lua | 1 + 1 file changed, 1 insertion(+) 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 } } -- cgit v1.2.3