Fix bug where setting autoLoad to false for one gem will prevent every gem after it from loading as well.

This commit is contained in:
mbalfour
2021-05-11 15:26:07 -05:00
parent 899d4c438d
commit 21dfcfed74
@@ -1304,7 +1304,7 @@ namespace AZ
// Add all auto loadable non-asset gems to the list of gem modules to load
if (!moduleLoadData.m_autoLoad)
{
break;
continue;
}
for (AZ::OSString& dynamicLibraryPath : moduleLoadData.m_dynamicLibraryPaths)
{