Use a constant seed for worldgen for debugging purposes

This commit is contained in:
crumblingstatue 2023-04-14 13:05:51 +02:00
parent d08f8daf59
commit 5b86b40e47
2 changed files with 5 additions and 10 deletions

View file

@ -124,7 +124,7 @@ impl GameState {
tile_to_place: 1,
current_biome: Biome::Surface,
prev_biome: Biome::Surface,
worldgen: Worldgen::default(),
worldgen: Worldgen::from_seed(0),
ambient_light: 0,
light_sources: Vec::new(),
tile_db: TileDb::load_or_default(),