mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 04:45:02 +01:00
Decrease
This commit is contained in:
parent
faa3129c6f
commit
b7515c1bd5
1 changed files with 2 additions and 2 deletions
|
|
@ -366,8 +366,8 @@ fn test_world_serialization() {
|
||||||
.init();
|
.init();
|
||||||
let mut w = World::new(WorldPos { x: 0, y: 0 }, "smoltestworld");
|
let mut w = World::new(WorldPos { x: 0, y: 0 }, "smoltestworld");
|
||||||
let wg = Worldgen::from_seed(0);
|
let wg = Worldgen::from_seed(0);
|
||||||
for y in 0..900 {
|
for y in 0..850 {
|
||||||
for x in 0..900 {
|
for x in 0..850 {
|
||||||
w.tile_at_mut(TilePos { x, y }, &wg).mid = (x + y) as u16;
|
w.tile_at_mut(TilePos { x, y }, &wg).mid = (x + y) as u16;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue