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