diff options
author | metamuffin <metamuffin@disroot.org> | 2025-06-06 21:38:24 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-06-06 21:38:24 +0200 |
commit | f8dfbaa2869f40253ccd19ee3655b8dbd5390d8e (patch) | |
tree | d1ce15aa264a787c81ca996752e5c2736d21fb62 /server/src/entity/pedestrians.rs | |
parent | 205d5f2ae8eaea03a78d3c027913c0fa44acceea (diff) | |
download | hurrycurry-f8dfbaa2869f40253ccd19ee3655b8dbd5390d8e.tar hurrycurry-f8dfbaa2869f40253ccd19ee3655b8dbd5390d8e.tar.bz2 hurrycurry-f8dfbaa2869f40253ccd19ee3655b8dbd5390d8e.tar.zst |
manual clippy and other cleanup
Diffstat (limited to 'server/src/entity/pedestrians.rs')
-rw-r--r-- | server/src/entity/pedestrians.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/entity/pedestrians.rs b/server/src/entity/pedestrians.rs index cedb9e46..2ddbb920 100644 --- a/server/src/entity/pedestrians.rs +++ b/server/src/entity/pedestrians.rs @@ -47,7 +47,7 @@ impl Entity for Pedestrians { }, class: PlayerClass::Customer, id: Some(id), - position: self.points.get(0).copied(), + position: self.points.first().copied(), }); self.players.insert(id, 0); self.cooldown += self.spawn_delay_distr.sample(&mut rng()).max(0.1); |