core: expose math

master
q3k 2020-03-20 15:52:43 +01:00
parent c91d2a68dd
commit 8c93d4da9a
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ function plugin.PrepareEnvironment(plugin_id)
local Env = {}
Env.table = DeepCopy(require('table'))
Env.string = DeepCopy(require('string'))
Env.math = DeepCopy(require('math'))
Env.json = DeepCopy(require('json'))
Env.DBI = DeepCopy(require('DBI'))
Env.redis = DeepCopy(require('redis'))