From 1422554d741fa96f2861dc7ed57c782d4d0062c4 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sun, 24 Nov 2019 13:47:00 -0800 Subject: [PATCH] fix the rng for releases, so the prebaked baseline results match --- release/play_abstreet.bat | 2 +- release/play_abstreet.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/play_abstreet.bat b/release/play_abstreet.bat index 7dfb6a6a53..894494fe58 100755 --- a/release/play_abstreet.bat +++ b/release/play_abstreet.bat @@ -1,3 +1,3 @@ cd game set RUST_BACKTRACE=1 -game.exe 1> ..\\output.txt 2>&1 +game.exe --rng_seed=42 1> ..\\output.txt 2>&1 diff --git a/release/play_abstreet.sh b/release/play_abstreet.sh index 92409908dc..eab7694571 100755 --- a/release/play_abstreet.sh +++ b/release/play_abstreet.sh @@ -1,4 +1,4 @@ #!/bin/bash cd game -RUST_BACKTRACE=1 ./game +RUST_BACKTRACE=1 ./game --rng_seed=42