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
committed by pappeste
parent 6ab9d68e69
commit 2eb494f7c1
@@ -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;
}