Fix ability name not displaying properly anymore

This commit is contained in:
Deukhoofd 2022-05-15 13:42:15 +02:00
parent 4121501a9b
commit 5187cb994d
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}