Skip to content

Commit

Permalink
Remove debug mode from release
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelalmeidatk committed Dec 16, 2016
1 parent 8b3dd5d commit 8c1d05f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Super Pete The Pirate/Managers/SceneManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class SceneManager

private GraphicsDeviceManager _graphicsDeviceManager;

public bool RequestingFullscreen { get; set; }
public bool RequestingExit { get; set; }
public bool RequestingFullscreen = false;
public bool RequestingExit = false;

//--------------------------------------------------
// SceneManager Singleton variables
Expand All @@ -52,7 +52,7 @@ class SceneManager
//--------------------------------------------------
// Debug mode

public bool DebugMode = true;
public bool DebugMode = false;

//--------------------------------------------------
// Game fonts
Expand Down Expand Up @@ -169,10 +169,6 @@ public void Update(GameTime gameTime)
{
UpdateTransition(gameTime);
}
else if (InputManager.Instace.KeyPressed(Keys.F5))
{
DebugMode = !DebugMode;
}

ParticleManager.Update(gameTime);

Expand Down

0 comments on commit 8c1d05f

Please sign in to comment.