From 1d86d459b47b440444ddea25e3ccde718f804c95 Mon Sep 17 00:00:00 2001 From: CroakFang <1605296300@qq.com> Date: Sun, 30 Jul 2023 22:31:49 +0800 Subject: [PATCH] bug fix --- Assets/Scripts/umamusume/Gallop/Live/Director.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/umamusume/Gallop/Live/Director.cs b/Assets/Scripts/umamusume/Gallop/Live/Director.cs index 010bb4d..00552b7 100644 --- a/Assets/Scripts/umamusume/Gallop/Live/Director.cs +++ b/Assets/Scripts/umamusume/Gallop/Live/Director.cs @@ -714,8 +714,10 @@ namespace Gallop.Live if (index < frames.Count) { frames[index].FovVaild = true; - if(index - 1 > 0) frames[index - 1].FovVaild = true; - if(index - 2 > 0) frames[index - 2].FovVaild = true; + if (index - 1 > 0) frames[index - 1].FovVaild = true; + if (index - 2 > 0) frames[index - 2].FovVaild = true; + if (index + 1 < frames.Count) frames[index + 1].FovVaild = true; + if (index + 2 < frames.Count) frames[index + 2].FovVaild = true; } });