# HG changeset patch # User Alys Brooks # Date 2022-05-15 23:49:14 # Node ID 88bac2f63baaeef3a2bb014a086bac2c7f8b2aca # Parent b29871be6ea033de0dce11b3a35a41079cb53a1f Disable extra sound effect outside of debug mode again. diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -481,11 +481,11 @@ Stopwatch stopWatch = new Stopwatch(); stopWatch.Start(); -// #if DEBUG +#if DEBUG float volume = 1.0f; float pitch = 0.0f; float pan = 0.0f; -// #endif +#endif KeyboardState keyboardCur = Keyboard.GetState(); MouseState mouseCur = Mouse.GetState(); @@ -493,14 +493,14 @@ #region input #region misc_keys -// #if DEBUG +#if DEBUG if (keyboardCur.IsKeyDown(Keys.OemBackslash) && keyboardPrev.IsKeyUp(Keys.OemBackslash) && keyboardCur.IsKeyDown(Keys.LeftShift)) { sound.Play(volume, pitch, pan); } -// #endif +#endif #endregion misc_keys #endregion input