Fix for LoadLevel not being called. (#584)

This commit is contained in:
bosnichd
2021-05-05 13:35:50 -06:00
committed by GitHub
parent 7ba3a19b40
commit 5783bf635b
4 changed files with 7 additions and 15 deletions
+5
View File
@@ -459,6 +459,11 @@ void CCryEditDoc::Load(TDocMultiArchive& arrXmlAr, const QString& szFilename)
Audio::AudioSystemRequestBus::Broadcast(&Audio::AudioSystemRequestBus::Events::PushRequestBlocking, oAudioRequestData);
}
{
CAutoLogTime logtime("Game Engine level load");
GetIEditor()->GetGameEngine()->LoadLevel(true, true);
}
if (!isPrefabEnabled)
{
//////////////////////////////////////////////////////////////////////////