Skip to content

Conversation

@Starexify
Copy link

@Starexify Starexify commented Oct 17, 2025

Description

This PR unifies the functions buildOpponentVoiceList and buildPlayerVoiceList into a single buildVoiceListForCharacter function, which uses CharacterType to determine which vocal list to build.

Also removes the $suffix from the second checking, which prevented normal vocals from characters to be searched for, such as Vocals-bf if there is no Vocals-bf-car-variation or Vocals-bf-variation

@github-actions github-actions bot added pr: haxe PR modifies game code. status: pending triage Awaiting review. size: large A large pull request with more than 100 changes. labels Oct 17, 2025
@AbnormalPoof
Copy link
Member

FYI this is not a chore since it makes a functional change

@AbnormalPoof AbnormalPoof added the type: optimization Involves a performance issue or a bug which causes lag. label Oct 17, 2025
@AbnormalPoof AbnormalPoof changed the title [CHORE] Unify player/opponent voice list builders into one function using CharacterType [OPTIMIZATION] Unify player/opponent voice list builders into one function using CharacterType Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: large A large pull request with more than 100 changes. status: pending triage Awaiting review. type: optimization Involves a performance issue or a bug which causes lag.

Development

Successfully merging this pull request may close these issues.

2 participants