Browse Source

remove commented code

pbs
jake 5 years ago
parent
commit
e68af333de
  1. 6
      src/login/character.rs

6
src/login/character.rs

@ -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);
} }

Loading…
Cancel
Save