Add clear console when starting gamemode setting.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
// Editor
|
||||
#include "IEditorImpl.h"
|
||||
#include "Controls/ConsoleSCB.h"
|
||||
#include "CryEditDoc.h"
|
||||
#include "Settings.h"
|
||||
|
||||
@@ -565,6 +566,11 @@ void CGameEngine::SwitchToInGame()
|
||||
streamer->QueueRequest(flush);
|
||||
wait.acquire();
|
||||
}
|
||||
|
||||
if (gSettings.clearConsoleOnGameModeStart)
|
||||
{
|
||||
CConsoleSCB::GetCreatedInstance()->ClearText();
|
||||
}
|
||||
|
||||
GetIEditor()->Notify(eNotify_OnBeginGameMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user