From 8c93d4da9a144f5fb2f94288b0a4de909bfcc800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergiusz=20Baza=C5=84ski?= Date: Fri, 20 Mar 2020 15:52:43 +0100 Subject: [PATCH] core: expose math --- core/plugin.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/core/plugin.lua b/core/plugin.lua index 12f0e8d..4274c04 100644 --- a/core/plugin.lua +++ b/core/plugin.lua @@ -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'))