mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Fixed inconsistent moduleName
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user