mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[commands] Enhance Command Sendable implementations (#4822)
This commit is contained in:
@@ -12,6 +12,8 @@ WrapperCommand::WrapperCommand(std::unique_ptr<Command>&& command) {
|
||||
CommandScheduler::GetInstance().RequireUngrouped(command.get());
|
||||
m_command = std::move(command);
|
||||
m_command->SetComposed(true);
|
||||
// copy the wrapped command's name
|
||||
SetName(m_command->GetName());
|
||||
}
|
||||
|
||||
void WrapperCommand::Initialize() {
|
||||
|
||||
Reference in New Issue
Block a user