Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Nov 25, 2024
1 parent 189ae0f commit c9a4d91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GameLogic/NPC/Monster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@ public async ValueTask<bool> WalkToAsync(Point target)
public async ValueTask WalkToAsync(Point target, Memory<WalkingStep> steps)
{
await this._walker.StopAsync().ConfigureAwait(false);
await this._walker.WalkToAsync(target, steps).ConfigureAwait(false);
var token = await this._walker.InitializeWalkToAsync(target, steps).ConfigureAwait(false);
await this.MoveAsync(target, MoveType.Walk).ConfigureAwait(false);
await this._walker.StartWalkAsync(token).ConfigureAwait(false);
}

/// <inheritdoc/>
Expand Down

0 comments on commit c9a4d91

Please sign in to comment.