diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-15 20:10:42 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-15 20:10:42 +0200 |
commit | 967d3a0d70aa0b002373c593c7b31168c24d0a19 (patch) | |
tree | d863fe3e86cc5e5d2034eb6d744cf366d529b2e2 /server | |
parent | 36fedecc82f9741491f3d154afa9bc7c6c8ad712 (diff) | |
download | hurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar hurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar.bz2 hurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar.zst |
empty usernames for customers
Diffstat (limited to 'server')
-rw-r--r-- | server/Cargo.toml | 1 | ||||
-rw-r--r-- | server/src/entity/customers.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml index 72e9dc45..3f48b499 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -17,7 +17,6 @@ serde_yml = "0.0.11" rand = "0.9.0-alpha.2" shlex = "1.3.0" clap = { version = "4.5.15", features = ["derive"] } -fake = "2.9.2" pollster = "0.3.0" bincode = "2.0.0-rc.3" diff --git a/server/src/entity/customers.rs b/server/src/entity/customers.rs index a89d5687..114ec440 100644 --- a/server/src/entity/customers.rs +++ b/server/src/entity/customers.rs @@ -41,7 +41,7 @@ impl Entity for Customers { if self.customers.len() < 5 && self.spawn_cooldown <= 0. { self.spawn_cooldown = 10. + random::<f32>() * 10.; let bot = BotDriver::new( - fake::Fake::fake(&fake::faker::name::fr_fr::Name()), + "".to_string(), -1 - (random::<u16>() as i32), Customer::default(), ); |