Fixed array subscript out of bounds issue.

修复数组下标越界的问题。
This commit is contained in:
Cold-Mint 2024-10-05 09:52:53 +08:00
parent 839d60b62a
commit b7805c5804
Signed by: Cold-Mint
GPG Key ID: C5A9BF8A98E0CE99

View File

@ -143,7 +143,7 @@ public partial class ProjectileWeapon : WeaponTemplate
{ {
//Has the ability to generate projectiles. //Has the ability to generate projectiles.
//拥有抛射体生成能力。 //拥有抛射体生成能力。
_spellProjectileIndexes.Add(i); _spellProjectileIndexes.Add(_spells.Count - 1);
} }
} }
} }