some more progress on character stuff but its really hard

This commit is contained in:
Rusty Striker 2024-10-16 16:40:10 +03:00
parent 5cdfe71528
commit e8291e15d9
Signed by: RustyStriker
GPG key ID: 9DBDBC7C48FC3C31
5 changed files with 22 additions and 3 deletions

View file

@ -162,7 +162,7 @@ impl GameServer {
if self.users.get(&id).map(|a| *a).unwrap_or(false) {
let new_id = self.game.create_character();
// return the new id with the character i think
_ = broadcast.send((Some(id), api::Response::CharacterCreated(new_id)));
}
},
api::Request::Quit => {