mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix misplaced insert of DelayArbitration command
This commit is contained in:
@ -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
|
#endif // LIMIT_CONSOLE_COMMANDS
|
||||||
|
|
||||||
|
|
||||||
@ -3345,6 +3336,15 @@ PF_CONSOLE_CMD(Logic, WriteDetectorLog, "", "Write detector log to logfile")
|
|||||||
DetectorDoLogfile();
|
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
|
#endif // LIMIT_CONSOLE_COMMANDS
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user