removed guard in module registration
This commit is contained in:
1 parent
4070458c54
commit
94404122c8
24 files changed
+23
-29
No files matched your search
@@ -7,12 +7,6 @@ function Bridge.RegisterModule(moduleName, moduleTable)
|
||||
end
|
||||
return
|
||||
end
|
||||
if Bridge[moduleName] then
|
||||
if BridgeSharedConfig.DebugLevel ~= 0 then
|
||||
print("^6Module already registered:", moduleName, "^0")
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
local wrappedModule = {}
|
||||
if type(moduleTable) == 'function' then
|
||||
|
||||
Reference in new issue
Block a user