mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Smaller
This commit is contained in:
parent
11dcc815f9
commit
4fb7d4c412
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue