mapmanager: allow vector/quat

This commit is contained in:
blattersturm
2020-11-01 12:49:37 +01:00
parent e0212e5ea7
commit 537eae7a00

View File

@@ -37,7 +37,8 @@ function parseMap(file, owningResource)
local env = {
math = math, pairs = pairs, ipairs = ipairs, next = next, tonumber = tonumber, tostring = tostring,
type = type, table = table, string = string, _G = env
type = type, table = table, string = string, _G = env,
vector3 = vector3, quat = quat, vec = vec, vector2 = vector2
}
TriggerEvent('getMapDirectives', function(key, cb, undocb)