aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/customers.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-15 20:10:42 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-15 20:10:42 +0200
commit967d3a0d70aa0b002373c593c7b31168c24d0a19 (patch)
treed863fe3e86cc5e5d2034eb6d744cf366d529b2e2 /server/src/entity/customers.rs
parent36fedecc82f9741491f3d154afa9bc7c6c8ad712 (diff)
downloadhurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar
hurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar.bz2
hurrycurry-967d3a0d70aa0b002373c593c7b31168c24d0a19.tar.zst
empty usernames for customers
Diffstat (limited to 'server/src/entity/customers.rs')
-rw-r--r--server/src/entity/customers.rs2
1 files changed, 1 insertions, 1 deletions
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(),
);