Skip to content

Commit

Permalink
Oops bad for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Jan 22, 2024
1 parent a420394 commit 0e119c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engines/FlatRedBallXNA/FlatRedBall/SpriteManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3018,7 +3018,7 @@ public static void Update(Section section )
for (int i = 0; i < mLayers.Count; i++)
{
var layer = mLayers[i];
for(int idbIndex = 0; idbIndex < layer.Batches.Count; i++)
for(int idbIndex = 0; idbIndex < layer.Batches.Count; idbIndex++)
{
var batch = layer.Batches[idbIndex];
if (batch.UpdateEveryFrame)
Expand Down

0 comments on commit 0e119c0

Please sign in to comment.