Skip to content

Commit 85f41d4

Browse files
author
Semphris
committed
Added setting to toggle vibration/rumbling
1 parent 0baa1cf commit 85f41d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/supertux/menu/multiplayer_menu.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ MultiplayerMenu::MultiplayerMenu()
2727
add_label(_("Multiplayer"));
2828
add_hl();
2929

30-
auto& automanage_item = add_toggle(-1, _("Auto-manage Players"),
31-
&g_config->multiplayer_auto_manage_players);
30+
auto& automanage_item = add_toggle(-1, _("Auto-manage Players"), &g_config->multiplayer_auto_manage_players);
3231
automanage_item.set_help(_("Automatically add and remove players when controllers are plugged or unplugged"));
3332

33+
auto& buzz_item = add_toggle(-1, _("Enable Rumbling Controllers"), &g_config->multiplayer_buzz_controllers);
34+
buzz_item.set_help(_("Enable vibrating the game controllers.") + " " + _("This feature is currently only used in the options menu."));
35+
// ^ Separated both translation strings so the latter can be removed if it is
36+
// no longer true, without requiring a new round of translating
37+
3438
add_submenu(_("Manage Players"), MenuStorage::MULTIPLAYER_PLAYERS_MENU);
3539

3640
add_hl();

0 commit comments

Comments
 (0)