pass character_short from game
This commit is contained in:
parent
e8291e15d9
commit
a6bfd86c24
1 changed files with 3 additions and 2 deletions
|
@ -91,8 +91,9 @@ impl<'a, C: Character<A> + Serialize + Deserialize<'a>, A: entry::GameEntry + Se
|
||||||
}
|
}
|
||||||
|
|
||||||
fn character_short(&self, character_id: usize) -> Option<CharacterShort> {
|
fn character_short(&self, character_id: usize) -> Option<CharacterShort> {
|
||||||
// self.characters.get(character_id).map(|c| c.char)
|
self.characters
|
||||||
todo!()
|
.get(character_id)
|
||||||
|
.map(|c| c.short())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue