mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Spawn new players at the highest point in a chunk
This commit is contained in:
parent
45644da98a
commit
9e76561ad6
@ -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)
|
||||
})
|
||||
}),
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user