Spawn new players at the highest point in a chunk

This commit is contained in:
Joshua Barretto 2023-03-31 14:38:32 +01:00
parent 45644da98a
commit 9e76561ad6

View File

@ -175,7 +175,7 @@ impl Sys {
})
.map(|(_, site)| {
let wpos2d = TerrainChunkSize::center_wpos(site.center);
Waypoint::new(world.find_accessible_pos(index.as_index_ref(), wpos2d, true), time)
Waypoint::new(world.find_accessible_pos(index.as_index_ref(), wpos2d, false), time)
})
}),
) {