mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复思考动画可能带来的卡顿
This commit is contained in:
parent
a8e651b420
commit
8611899fc3
@ -64,8 +64,12 @@ namespace VPet_Simulator.Windows.Interface
|
||||
/// </summary>
|
||||
public void DisplayThink()
|
||||
{
|
||||
if (MainPlugin.MW.Main.DisplayType.Name == "think")
|
||||
return;
|
||||
|
||||
var think = MainPlugin.MW.Core.Graph.FindGraphs("think", AnimatType.B_Loop, MainPlugin.MW.Core.Save.Mode);
|
||||
if (think.Count > 0)
|
||||
var think2 = MainPlugin.MW.Core.Graph.FindGraphs("think", AnimatType.A_Start, MainPlugin.MW.Core.Save.Mode);
|
||||
if (think.Count > 0 && think2.Count > 0)
|
||||
{
|
||||
MainPlugin.MW.Main.Display("think", AnimatType.A_Start, MainPlugin.MW.Main.DisplayBLoopingForce);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user