Skip to content

Commit

Permalink
Fix contimove move not transitioning to end
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Sep 28, 2024
1 parent c4b6849 commit fc39a0f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc39a0f

Please sign in to comment.