This commit is contained in:
parent
54f19cf73e
commit
fb98798046
@ -124,7 +124,7 @@ mod implementation {
|
|||||||
fn priority(&self) -> i8 {
|
fn priority(&self) -> i8 {
|
||||||
unsafe { turn_choice_move_priority(self.base().reference().into()) }
|
unsafe { turn_choice_move_priority(self.base().reference().into()) }
|
||||||
}
|
}
|
||||||
fn move_script(&self) -> Option<&Box<dyn Script>> {
|
fn move_script<'a>(&self) -> Option<&'a Box<dyn Script>> {
|
||||||
unsafe { turn_choice_move_script(self.base().reference().into()).as_ref() }
|
unsafe { turn_choice_move_script(self.base().reference().into()).as_ref() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user