From b8b5ffd3cfbb7f84c525b6697db708b84a8553e4 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Tue, 29 Aug 2023 15:45:00 -0400 Subject: [PATCH] Remove modification to SelectCommand --- .../src/main/native/include/frc2/command/SelectCommand.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/SelectCommand.h b/wpilibNewCommands/src/main/native/include/frc2/command/SelectCommand.h index 51addd6d068..0bec3c34e3f 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/SelectCommand.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/SelectCommand.h @@ -57,7 +57,6 @@ class SelectCommand : public CommandHelper> { for (auto&& command : foo) { CommandScheduler::GetInstance().RequireUngrouped(command.second.get()); - command.second.get()->SetComposed(true); } for (auto&& command : foo) { @@ -77,7 +76,6 @@ class SelectCommand : public CommandHelper> { : m_selector{std::move(selector)} { for (auto&& command : commands) { CommandScheduler::GetInstance().RequireUngrouped(command.second.get()); - command.second.get()->SetComposed(true); } for (auto&& command : commands) {