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.
main
Mike Balfour 5 years ago committed by GitHub
commit 4c453bf4b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save