Handle bug that happens when a player leaves the game in an early stage

This commit is contained in:
2022-10-16 18:25:59 +02:00
parent 04ee20dac2
commit 70d70c2851
5 changed files with 21 additions and 3 deletions

View File

@ -131,6 +131,8 @@ async fn start_random(
resp
}
pub async fn start_server(args: Args) -> std::io::Result<()> {
log::info!("Start to listen on {}", args.listen_address);
let args_clone = args.clone();
let dispatcher_actor = DispatcherActor::default().start();