mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
Fix the query params, update to the 0.3 link after all
This commit is contained in:
parent
2887663a64
commit
81af262511
@ -13,7 +13,7 @@ and educate the public about
|
||||
The project works anywhere in the world, thanks to
|
||||
[OpenStreetMap](https://www.openstreetmap.org/about).
|
||||
|
||||
- Run it on [your web browser](http://play.abstreet.org/0.2.65/abstreet.html),
|
||||
- Run it on [your web browser](http://play.abstreet.org/0.3.0/abstreet.html),
|
||||
[Windows](https://github.com/a-b-street/abstreet/releases/download/v0.3.0/abstreet_windows_v0_3_0.zip),
|
||||
[Mac](https://github.com/a-b-street/abstreet/releases/download/v0.3.0/abstreet_mac_v0_3_0.zip),
|
||||
[Linux](https://github.com/a-b-street/abstreet/releases/download/v0.3.0/abstreet_linux_v0_3_0.zip),
|
||||
|
@ -157,7 +157,7 @@ fn run(mut settings: Settings) {
|
||||
// This is approximately how much the 3 top panels in sandbox mode require.
|
||||
.require_minimum_width(1500.0);
|
||||
|
||||
let mut args = Args::from_args();
|
||||
let mut args = Args::from_iter(abstutil::cli_args());
|
||||
args.flags.sim_flags.initialize();
|
||||
|
||||
if args.prebake {
|
||||
|
@ -62,7 +62,7 @@ impl<T: 'static> SimpleApp<T> {
|
||||
init_states: F,
|
||||
) -> (SimpleApp<T>, Vec<Box<dyn State<SimpleApp<T>>>>) {
|
||||
abstutil::logger::setup();
|
||||
let args = Args::from_args();
|
||||
let args = Args::from_iter(abstutil::cli_args());
|
||||
// Options are passed in by each app, usually seeded with defaults or from a config file.
|
||||
// For the few options that we allow to be specified by command-line, overwrite the values.
|
||||
opts.dev = args.dev;
|
||||
|
Loading…
Reference in New Issue
Block a user