~ruther/NosSmooth

0abf5e2190c1a2a31c60c76cebeab7d470c32cee — Rutherther 2 years ago e4ec704
fix(combat): cancel combat when cancellation token is cancelled
1 files changed, 1 insertions(+), 1 deletions(-)

M Extensions/NosSmooth.Extensions.Combat/CombatManager.cs
M Extensions/NosSmooth.Extensions.Combat/CombatManager.cs => Extensions/NosSmooth.Extensions.Combat/CombatManager.cs +1 -1
@@ 50,7 50,7 @@ public class CombatManager : IStatefulEntity
        long? currentTarget = null;
        long? previousTarget = null;

        while (!combatState.ShouldQuit)
        while (!combatState.ShouldQuit && !ct.IsCancellationRequested)
        {
            var commandResult = await _client.SendCommandAsync
            (

Do not follow this link