为性能较差的电脑留更多的识别容错时间时间

This commit is contained in:
ZouJin 2024-02-04 16:58:09 +08:00
parent 3d555b89d0
commit 2801cd35ad

View File

@ -899,8 +899,8 @@ namespace VPet_Simulator.Windows
CurrMusicType = null; CurrMusicType = null;
MusicTimer.Start(); MusicTimer.Start();
Task.Run(() => Task.Run(() =>
{//等2秒看看识别结果 {//等3秒看看识别结果
Thread.Sleep(2500); Thread.Sleep(3000);
if (CurrMusicType != null && Main.IsIdel) if (CurrMusicType != null && Main.IsIdel)
{//识别通过,开始跑跳舞动画 {//识别通过,开始跑跳舞动画