Fix roleIds IndexOutOfRangeException

This commit is contained in:
Ryo 2024-02-22 22:15:26 +08:00
parent ec7db3384d
commit 092fd8df28

View file

@ -10,7 +10,7 @@ internal class FormationModel
public void Set(int[] roleIds)
{
for (int i = 0; i < RoleIds.Length; i++)
for (int i = 0; i < roleIds.Length; i++)
{
RoleIds[i] = roleIds[i];
}