1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Clippy tweaks for latest PR and multiplayer fixes

This commit is contained in:
NG (Graham)
2026-01-15 18:56:30 -05:00
parent a48f9dcfe9
commit f2896509ba
6 changed files with 19 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ impl CubeLocationsParser {
let target_x = point.0 as f32;
let target_y = point.1 as f32;
let target_z = point.2 as f32;
let mut relevant_cubes: Vec<(f32, CubeLocationInfo)> = cubes.into_iter()
let mut relevant_cubes: Vec<(f32, CubeLocationInfo)> = cubes.iter()
.filter(|x| x.id == locations_of_id)
.map(|cube| {
let distance = (