Skip to content

Commit

Permalink
Fix random spells being picked for hero (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
asimon-1 authored Aug 19, 2024
1 parent 29f1d5b commit 2545789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/training/buff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub unsafe fn handle_buffs(
}

unsafe fn buff_hero(module_accessor: &mut app::BattleObjectModuleAccessor, status: i32) -> bool {
let buff_vec: Vec<BuffOption> = MENU.buff_state.to_vec();
let buff_vec: Vec<BuffOption> = MENU.buff_state.hero_buffs().to_vec();
if !is_buffing(module_accessor) {
// Initial set up for spells
start_buff(module_accessor);
Expand Down

0 comments on commit 2545789

Please sign in to comment.