aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-28 20:28:57 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-28 20:28:57 +0200
commit40f4dddf5b8dcdc53996d981bf01d124584038df (patch)
tree51e2c2a994b0bd3d461ca55d1c28b3ced504340e /server
parent8b00ef705713c901ee07d3f29abcc1716dcab056 (diff)
downloadhurrycurry-40f4dddf5b8dcdc53996d981bf01d124584038df.tar
hurrycurry-40f4dddf5b8dcdc53996d981bf01d124584038df.tar.bz2
hurrycurry-40f4dddf5b8dcdc53996d981bf01d124584038df.tar.zst
fix #190
Diffstat (limited to 'server')
-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 bb423e58..a9ddb6f1 100644
--- a/server/src/entity/customers.rs
+++ b/server/src/entity/customers.rs
@@ -54,7 +54,7 @@ impl Entity for Customers {
self.spawn_cooldown = 10. + random::<f32>() * 10.;
let bot = BotDriver::new(
"".to_string(),
- random::<u16>() as i32,
+ -1 - random::<u16>() as i32,
PlayerClass::Customer,
Customer::default(),
);