Skip to content

Commit 1c57763

Browse files
Pirulaxqaisjp
authored andcommitted
Add missing locals to exports.lua (fixes mantis 9914) (pr #244)
1 parent 0425ad2 commit 1c57763

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Shared/mods/deathmatch/logic/luascripts/exports.lua.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ namespace EmbeddedLuaCode
1212
--]]
1313
1414
-- Protect some functions from modifications by resources
15+
local type = type
16+
local setmetatable = setmetatable
1517
local getResourceRootElement = getResourceRootElement
1618
local call = call
1719
local getResourceFromName = getResourceFromName
@@ -50,4 +52,4 @@ end
5052
exports = setmetatable({}, exportsMT)
5153
5254
)~LUA~";
53-
}
55+
}

0 commit comments

Comments
 (0)