fix: Fix ongoing event cycling logic (Amend)
This commit is contained in:
@@ -206,8 +206,9 @@ namespace Cryville.EEW.Unity {
|
|||||||
m_cameraController.OnMapElementUpdated();
|
m_cameraController.OnMapElementUpdated();
|
||||||
}
|
}
|
||||||
public void SetCurrent(ReportViewModel e) {
|
public void SetCurrent(ReportViewModel e) {
|
||||||
m_mapElementManager.SetCurrent(e);
|
if (m_mapElementManager.SetCurrent(e)) {
|
||||||
m_cameraController.OnMapElementUpdated();
|
m_cameraController.OnMapElementUpdated();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update() {
|
void Update() {
|
||||||
|
Reference in New Issue
Block a user