Merge pull request #648 from aws-lumberyard-dev/mbalfour/legacy-level-load-fix
Changed the level loading code to always set the default mission name.
This commit is contained in:
@@ -108,10 +108,11 @@ bool CLevelInfo::ReadInfo()
|
||||
AzFramework::ApplicationRequests::Bus::BroadcastResult(
|
||||
usePrefabSystemForLevels, &AzFramework::ApplicationRequests::IsPrefabSystemForLevelsEnabled);
|
||||
|
||||
// Set up a default game type for legacy code.
|
||||
m_defaultGameTypeName = "Mission0";
|
||||
|
||||
if (usePrefabSystemForLevels)
|
||||
{
|
||||
// Set up a default game type for legacy code.
|
||||
m_defaultGameTypeName = "Mission0";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user