|
@ -186,12 +186,6 @@ fn new_character<EG: EntityGateway>(entity_gateway: &mut EG, user: &UserAccount, |
|
|
let mut char = entity_gateway.new_character_by_user(&user);
|
|
|
let mut char = entity_gateway.new_character_by_user(&user);
|
|
|
char.slot = preview.slot;
|
|
|
char.slot = preview.slot;
|
|
|
char.character = preview.character.as_character();
|
|
|
char.character = preview.character.as_character();
|
|
|
/*let char = Character {
|
|
|
|
|
|
id: 9,
|
|
|
|
|
|
slot: preview.slot,
|
|
|
|
|
|
user_id: user.id,
|
|
|
|
|
|
character: preview.character.as_character()
|
|
|
|
|
|
};*/
|
|
|
|
|
|
entity_gateway.set_character(&char);
|
|
|
entity_gateway.set_character(&char);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|