Clear error log before loading an area
This commit is contained in:
parent
a46cd5446f
commit
37110f4e54
|
@ -166,6 +166,8 @@ void CStartWindow::on_LaunchWorldEditorButton_clicked()
|
||||||
{
|
{
|
||||||
if (mpWorldEditor->CheckUnsavedChanges())
|
if (mpWorldEditor->CheckUnsavedChanges())
|
||||||
{
|
{
|
||||||
|
Log::ClearErrorLog();
|
||||||
|
|
||||||
u64 AreaID = mpWorld->GetAreaResourceID(mSelectedAreaIndex);
|
u64 AreaID = mpWorld->GetAreaResourceID(mSelectedAreaIndex);
|
||||||
TResPtr<CGameArea> pArea = gResCache.GetResource(AreaID, "MREA");
|
TResPtr<CGameArea> pArea = gResCache.GetResource(AreaID, "MREA");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue