Skip to content

Commit 3b5ceda

Browse files
author
Semphris
committed
Added menu option to toggle multibind
1 parent bc95327 commit 3b5ceda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/supertux/menu/multiplayer_menu.cpp

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

30-
auto& automanage_item = add_toggle(-1, _("Auto-manage Players"), &g_config->multiplayer_auto_manage_players);
31-
automanage_item.set_help(_("Automatically add and remove players when controllers are plugged or unplugged"));
30+
add_toggle(-1, _("Auto-manage Players"), &g_config->multiplayer_auto_manage_players)
31+
.set_help(_("Automatically add and remove players when controllers are plugged or unplugged"));
32+
33+
add_toggle(-2, _("Allow Multibind"), &g_config->multiplayer_multibind)
34+
.set_help(_("Allow binding multiple joysticks to a single player"));
3235

3336
add_submenu(_("Manage Players"), MenuStorage::MULTIPLAYER_PLAYERS_MENU);
3437

0 commit comments

Comments
 (0)