removed s shortcut for sound fx toggle

This commit is contained in:
2025-12-21 17:22:30 +01:00
parent ab22d4c34f
commit b46af7ab1d
10 changed files with 236 additions and 8 deletions

View File

@ -775,7 +775,8 @@ void TetrisApp::Impl::runLoop()
Settings::instance().setMusicEnabled(true);
}
}
if (e.key.scancode == SDL_SCANCODE_S)
// K: Toggle sound effects (S is reserved for co-op movement)
if (e.key.scancode == SDL_SCANCODE_K)
{
SoundEffectManager::instance().setEnabled(!SoundEffectManager::instance().isEnabled());
Settings::instance().setSoundEnabled(SoundEffectManager::instance().isEnabled());