minor change in how the 2d camera is handled

This commit is contained in:
2018-11-12 18:34:11 -06:00
parent 0f10ce3a07
commit b1e2721850
8 changed files with 18 additions and 11 deletions

View File

@@ -63,7 +63,10 @@ namespace RhythmBullet.Zer01HD.Game.Screens.Transitions
public void DrawTransition(SpriteBatch batch)
{
batch.Draw(curtain, curtainSize, color);
if (curtain != null)
{
batch.Draw(curtain, curtainSize, color);
}
}
public void Dispose()