diff --git a/pkmn_lib_interface/src/app_interface/dynamic_data/turn_choices.rs b/pkmn_lib_interface/src/app_interface/dynamic_data/turn_choices.rs index 70d6317..a3df874 100755 --- a/pkmn_lib_interface/src/app_interface/dynamic_data/turn_choices.rs +++ b/pkmn_lib_interface/src/app_interface/dynamic_data/turn_choices.rs @@ -124,7 +124,7 @@ mod implementation { fn priority(&self) -> i8 { unsafe { turn_choice_move_priority(self.base().reference().into()) } } - fn move_script(&self) -> Option<&Box> { + fn move_script<'a>(&self) -> Option<&'a Box> { unsafe { turn_choice_move_script(self.base().reference().into()).as_ref() } } }