Fixed inconsistent moduleName

This commit is contained in:
Cooldude2606
2018-12-30 22:06:49 +00:00
parent cd4b06a996
commit 97b00a3a1b
2 changed files with 3 additions and 3 deletions

View File

@@ -5,9 +5,9 @@ local Game = { --luacheck: allow defined top
VALID_FILTER = function(v)
return v and v.valid
end,
_protect = function(module_name)
_protect = function(moduleName)
return {
__newindex = function() error("Attempt to mutatate read-only "..module_name.." Module") end,
__newindex = function() error("Attempt to mutatate read-only "..moduleName.." Module") end,
__metatable = true
}
end,