Fix ability name not displaying properly anymore

master
Deukhoofd 9 months ago
parent 4121501a9b
commit 5187cb994d
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
  1. 2
      PkmnLibSharp/Battling/Pokemon.cs

@ -138,7 +138,7 @@ namespace PkmnLibSharp.Battling
{
var ptr = IntPtr.Zero;
Creaturelib.Generated.Creature.GetActiveTalent(Ptr, ref ptr).Assert();
return ptr.PtrString();
return Creaturelib.Generated.Talent.GetName(ptr).PtrString();
}
}

Loading…
Cancel
Save