Merge pull request #3 from ryozm/fix/roleIds-bug

Fix roleIds IndexOutOfRangeException
This commit is contained in:
thexeondev 2024-02-22 20:59:35 +03:00 committed by GitHub
commit 6fc374af32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ internal class FormationModel
public void Set(int[] roleIds) 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]; RoleIds[i] = roleIds[i];
} }