We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0999ce + 967f347 commit a774c01Copy full SHA for a774c01
AutoDuty/Managers/SquadronManager.cs
@@ -106,7 +106,7 @@ internal unsafe bool OpenSquadron(AtkUnitBase* aub)
106
}
107
108
// Attempt to get the squadron sergeant once and reuse the result --- This still sets this every call I will change this to one and done later.
109
- IGameObject? gameObject = ObjectHelper.GetObjectByPartialName("Squadron Sergeant");
+ IGameObject? gameObject = ObjectHelper.GetObjectByDataId(1016924u) ?? ObjectHelper.GetObjectByDataId(1016986u) ?? ObjectHelper.GetObjectByDataId(1016987u);
110
if (gameObject == null || !MovementHelper.Move(gameObject, 0.25f, 6f))
111
{
112
return false;
0 commit comments