diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 676d2173e857..2cd0bbc08d05 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,7 +90,7 @@ fn generate_level<'a, W: io::Write>( let level = match params.value_of("generator") { None => panic!("Must supply a generator with --generator"), Some("cave_automata") => level_gen::cave_automata::generate( - &dimensions, + dimensions, &level_gen::cave_automata::Params::from_matches(params), &mut rand, ), |