aboutsummaryrefslogtreecommitdiff
path: root/server/src/customer/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-02 00:59:11 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-02 00:59:11 +0200
commit5fde584021fa0d073d068ab7edde44aff6098bed (patch)
treea744285b7fc26abb07f3c23f3849907c4922b21f /server/src/customer/mod.rs
parent8ee3eca5d6de0b950881783821d1be86cd0586d5 (diff)
downloadhurrycurry-5fde584021fa0d073d068ab7edde44aff6098bed.tar
hurrycurry-5fde584021fa0d073d068ab7edde44aff6098bed.tar.bz2
hurrycurry-5fde584021fa0d073d068ab7edde44aff6098bed.tar.zst
passive recipes in player slot
Diffstat (limited to 'server/src/customer/mod.rs')
-rw-r--r--server/src/customer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs
index 9e0dd797..c29b4852 100644
--- a/server/src/customer/mod.rs
+++ b/server/src/customer/mod.rs
@@ -118,7 +118,7 @@ impl DemandState {
id,
PacketS::Join {
name: faker::name::fr_fr::Name().fake(),
- character: -1 - (random::<i16>() as i32),
+ character: -1 - (random::<u16>() as i32),
},
));
let chair = self.select_chair().ok_or(anyhow!("no free chair found"))?;