Fix ability name not displaying properly anymore

This commit is contained in:
Deukhoofd committed 2022-05-15 13:42:15 +02:00
1 parent 4121501a9b
commit 5187cb994d
1 file changed
+1 -1
+1 -1
View File
@@ -138,7 +138,7 @@ namespace PkmnLibSharp.Battling
{ {
var ptr = IntPtr.Zero; var ptr = IntPtr.Zero;
Creaturelib.Generated.Creature.GetActiveTalent(Ptr, ref ptr).Assert(); Creaturelib.Generated.Creature.GetActiveTalent(Ptr, ref ptr).Assert();
return ptr.PtrString(); return Creaturelib.Generated.Talent.GetName(ptr).PtrString();
} }
} }