release all key before tp & release all key after auto fight

This commit is contained in:
辉鸭蛋
2025-03-06 00:22:12 +08:00
parent 99df54607d
commit fc2c809702
2 changed files with 7 additions and 0 deletions

View File

@@ -332,6 +332,10 @@ public class AutoFightTask : ISoloTask
Debug.WriteLine(e.StackTrace);
throw;
}
finally
{
Simulation.ReleaseAllKey();
}
}, cts2.Token);
await fightTask;