Browse Source

Fix misplaced insert of DelayArbitration command

tickets/07/7/1
John Johns 4 years ago
parent
commit
22d7ff292c
  1. 18
      Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

18
Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

@ -447,15 +447,6 @@ PF_CONSOLE_BASE_CMD( SampleCmd3, "int, ...", "Sample command #3" )
}
}
PF_CONSOLE_CMD(Logic,
DelayArbitration,
"int millis",
"Simulates network delay for LogicMod arbitration")
{
int ms = params[0];
plLogicModBase::SetArbitrationDelay(ms);
}
#endif // LIMIT_CONSOLE_COMMANDS
@ -3345,6 +3336,15 @@ PF_CONSOLE_CMD(Logic, WriteDetectorLog, "", "Write detector log to logfile")
DetectorDoLogfile();
}
PF_CONSOLE_CMD(Logic,
DelayArbitration,
"int millis",
"Simulates network delay for LogicMod arbitration")
{
int ms = params[0];
plLogicModBase::SetArbitrationDelay(ms);
}
#endif // LIMIT_CONSOLE_COMMANDS
////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save