mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Clear SDK Launcher console on launch
Clear session
This commit is contained in:
parent
6eb31ad881
commit
484f6a779a
@ -523,6 +523,10 @@ void CUIBaseSurface::LaunchGame(Forms::Control* pSender)
|
||||
{
|
||||
CUIBaseSurface* pSurface = reinterpret_cast<CUIBaseSurface*>(pSender->FindForm());
|
||||
|
||||
pSurface->m_LogList.clear(); // Clear console.
|
||||
pSurface->m_ConsoleListView->SetVirtualListSize(0);
|
||||
pSurface->m_ConsoleListView->Refresh();
|
||||
|
||||
fs::path cfgPath = fs::current_path() /= "platform\\cfg\\startup_launcher.cfg";
|
||||
|
||||
ifstream cfgFile(cfgPath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user