Skip to content

Commit

Permalink
call init
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-iancu committed Aug 27, 2024
1 parent 94c475c commit 4a66961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions map-generation/src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ pub trait MapModule {
let seed = unsafe { seed_result.unwrap_unchecked() };
let mut map = Map::new(seed);
let initial_seed = map.rng.seed;
map.init::<Self::Api>();

let steps = TILES.trailing_zeros() + 1;
for s in 0..steps {
Expand Down

0 comments on commit 4a66961

Please sign in to comment.