This commit is contained in:
crumblingstatue 2023-04-14 17:34:49 +02:00
parent 11dcc815f9
commit 4fb7d4c412

View file

@ -366,9 +366,9 @@ fn test_world_serialization() {
.init();
let mut w = World::new(WorldPos { x: 0, y: 0 }, "smoltestworld");
let wg = Worldgen::from_seed(0);
for y in 0..820 {
for x in 0..820 {
w.tile_at_mut(TilePos { x, y }, &wg).mid = (x + y) as u16;
for y in 0..400 {
for x in 0..400 {
w.tile_at_mut(TilePos { x, y }, &wg).mid = 1;
}
}
w.save();