use save seed
This commit is contained in:
parent
8d5724f4fd
commit
226885a58f
@ -154,6 +154,9 @@ po::options_description CommandHandler::getGeneralOptions()
|
|||||||
|
|
||||||
void CommandHandler::setupContext(Context *ctx)
|
void CommandHandler::setupContext(Context *ctx)
|
||||||
{
|
{
|
||||||
|
if (ctx->settings.find(ctx->id("seed")) != ctx->settings.end())
|
||||||
|
ctx->rngstate = ctx->setting<uint64_t>("seed");
|
||||||
|
|
||||||
if (vm.count("verbose")) {
|
if (vm.count("verbose")) {
|
||||||
ctx->verbose = true;
|
ctx->verbose = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user