Ban evos byref all the way down

https://github.com/kwsch/PKHeX/issues/2973#issuecomment-1247776541
This commit is contained in:
Kurt 2022-09-15 17:43:52 -07:00
parent d8923fe3fb
commit fddddcba28

View File

@ -187,7 +187,7 @@ private void FixEvoTreeBS()
private void BanEvo(ushort species, byte form, Func<PKM, bool> func)
{
var key = GetLookupKey(species, form);
var node = Lineage[key];
ref var node = ref Lineage[key];
node.Ban(func);
}