Skip to content

Commit fc39a0f

Browse files
committed
Fix contimove move not transitioning to end
1 parent c4b6849 commit fc39a0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/Edelstein.Common.Gameplay.Game/Continent/ContiMoveManagerTicker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public void Act()
2828
contimove.Trigger(ContiMoveStateTrigger.Start);
2929
break;
3030
case ContiMoveState.Move:
31+
if (now > contimove.NextEnd)
32+
contimove.Trigger(ContiMoveStateTrigger.End);
3133
if (contimove.NextEvent.HasValue && now > contimove.NextEvent.Value)
3234
contimove.Trigger(ContiMoveStateTrigger.MobGen);
3335
break;

0 commit comments

Comments
 (0)