Remove todo
This commit is contained in:
parent
d591fbe693
commit
4cfe15de77
@ -47,9 +47,6 @@ impl Scene {
|
||||
|
||||
/// Returns the controlable.
|
||||
pub fn controlable(&self) -> Option<&Character> {
|
||||
// TODO fix this
|
||||
return Some(&self.characters[0]);
|
||||
|
||||
for character in &self.characters {
|
||||
if character.controls().is_some() {
|
||||
return Some(&character);
|
||||
@ -60,9 +57,6 @@ impl Scene {
|
||||
|
||||
/// Returns the controlable.
|
||||
pub fn controlable_mut(&mut self) -> Option<&mut Character> {
|
||||
// TODO fix this
|
||||
return Some(&mut self.characters[0]);
|
||||
|
||||
for character in &mut self.characters {
|
||||
if character.controls().is_some() {
|
||||
return Some(character);
|
||||
|
Loading…
x
Reference in New Issue
Block a user