Skip to content

Commit 1d95287

Browse files
author
psilo
committed
Fix
1 parent 9ac74a5 commit 1d95287

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Test/DrawableGrid.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public override void Update(GameTime gameTime)
6767
base.Update(gameTime);
6868
foreach (Sprite s in sprites)
6969
{
70-
Grid.Move(s, s.Position);Grid.rem
70+
Grid.Move(s, s.Position);
7171
}
7272
}
7373

@@ -103,5 +103,11 @@ public override void Draw(GameTime gameTime)
103103
SpriteBatch.End();
104104
}
105105
}
106+
107+
protected override void UnloadContent()
108+
{
109+
base.UnloadContent();
110+
Grid.Dispose();
111+
}
106112
}
107113
}

0 commit comments

Comments
 (0)