diff options
Diffstat (limited to 'server/src')
| -rw-r--r-- | server/src/entity/customers.rs | 2 | ||||
| -rw-r--r-- | server/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/entity/customers.rs b/server/src/entity/customers.rs index 193fc2a3..148faf81 100644 --- a/server/src/entity/customers.rs +++ b/server/src/entity/customers.rs @@ -64,7 +64,7 @@ impl Entity for Customers { headwear: 0, }, PlayerClass::Customer, - |id| Customer::new(id), + Customer::new, ); self.customers.push(bot) } diff --git a/server/src/main.rs b/server/src/main.rs index b1086b39..8a080af6 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -265,7 +265,7 @@ async fn run(data_path: PathBuf, args: Args) -> anyhow::Result<()> { } }; } - let _ = state.write().await.disconnect(id); + state.write().await.disconnect(id); }); } Ok(()) |