From fb98798046cbdcd9331f80f73593caefc5900533 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 7 Jan 2023 13:33:11 +0100 Subject: [PATCH] Fixes release build --- .../src/app_interface/dynamic_data/turn_choices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } } }