From fc39a0f25f52f747e0ea979f7c5a9eec5c27b092 Mon Sep 17 00:00:00 2001 From: Kaioru Date: Sat, 28 Sep 2024 21:35:52 +0800 Subject: [PATCH] Fix contimove move not transitioning to end --- .../Continent/ContiMoveManagerTicker.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/Edelstein.Common.Gameplay.Game/Continent/ContiMoveManagerTicker.cs b/src/common/Edelstein.Common.Gameplay.Game/Continent/ContiMoveManagerTicker.cs index 245878c14..0b1d504d6 100644 --- a/src/common/Edelstein.Common.Gameplay.Game/Continent/ContiMoveManagerTicker.cs +++ b/src/common/Edelstein.Common.Gameplay.Game/Continent/ContiMoveManagerTicker.cs @@ -28,6 +28,8 @@ public void Act() contimove.Trigger(ContiMoveStateTrigger.Start); break; case ContiMoveState.Move: + if (now > contimove.NextEnd) + contimove.Trigger(ContiMoveStateTrigger.End); if (contimove.NextEvent.HasValue && now > contimove.NextEvent.Value) contimove.Trigger(ContiMoveStateTrigger.MobGen); break;