fix: Fix network events invalidating map view

This commit is contained in:
2025-02-26 15:36:02 +08:00
parent 0743fa45eb
commit 41c1e6f9fd

View File

@@ -183,7 +183,6 @@ namespace Cryville.EEW.Unity {
m_mapElementManager.SetSelected(null);
}
m_ongoingEventList.Add(item);
m_cameraController.OnMapElementUpdated();
});
}
else if (action == CollectionChangeAction.Remove) {
@@ -193,7 +192,6 @@ namespace Cryville.EEW.Unity {
m_mapElementManager.SetSelected(_latestHistoryReport, true);
}
m_ongoingEventList.Remove(item);
m_cameraController.OnMapElementUpdated();
});
}
}