Browse Source

set mag owner when creating a char

pull/127/head
jake 2 years ago
parent
commit
6ef5ea6681
  1. 2
      src/login/character.rs

2
src/login/character.rs

@ -266,6 +266,8 @@ async fn new_character<EG: EntityGateway + Clone>(entity_gateway: &mut EG, user:
character_id: character.id, character_id: character.id,
}).await?; }).await?;
entity_gateway.change_mag_owner(&mag.id, &character).await?;
let mut monomates = Vec::new(); let mut monomates = Vec::new();
for _ in 0..4usize { for _ in 0..4usize {
let monomate = entity_gateway.create_item( let monomate = entity_gateway.create_item(

Loading…
Cancel
Save