Changed the level loading code to always set the default mission name now. the mission system recently got redcoded, so nothing else was setting this name.

This commit is contained in:
mbalfour
2021-05-07 14:23:01 -05:00
parent 1743d9631b
commit 5ecd1a583f
@@ -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;
}