[SettingsMenuState] Increased max mouse sensitivity.

This commit is contained in:
Quentin Bazin 2020-07-08 00:45:28 +02:00
parent 43c28b4e68
commit 95233b78ad

View File

@ -275,7 +275,7 @@ void SettingsMenuState::addInputButtons() {
}
m_menuWidget.addButton("Mouse sensitivity: " + std::to_string(Config::mouseSensitivity), [] (TextButton &button) {
Config::mouseSensitivity = std::max(2, (Config::mouseSensitivity + 2) % 14);
Config::mouseSensitivity = std::max(2, (Config::mouseSensitivity + 2) % 22);
button.setText("Mouse sensitivity: " + std::to_string(Config::mouseSensitivity));
});