mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 13:37:43 +00:00
Clear error log before loading an area
This commit is contained in:
@@ -166,6 +166,8 @@ void CStartWindow::on_LaunchWorldEditorButton_clicked()
|
||||
{
|
||||
if (mpWorldEditor->CheckUnsavedChanges())
|
||||
{
|
||||
Log::ClearErrorLog();
|
||||
|
||||
u64 AreaID = mpWorld->GetAreaResourceID(mSelectedAreaIndex);
|
||||
TResPtr<CGameArea> pArea = gResCache.GetResource(AreaID, "MREA");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user