Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Modding (Polymod): Make addCharacter actually set the characters type #3357

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

Kade-github
Copy link
Contributor

Does this PR close any issues? If so, link them below.

N/A

Briefly describe the issue(s) fixed.

Fixes a call to addCharacter in where if you were to create a custom character in an hscript and then try to add it to the stage, it wouldn't have it's character type get set. Meaning it would not react to any notes being played.

Include any relevant screenshots or videos.

N/A

@Kade-github
Copy link
Contributor Author

reproduced by doing

character = CharacterDataParser.fetchCharacter("bf");
PlayState.instance.currentStage.addCharacter(character, CharacterType.BF);

@EliteMasterEric EliteMasterEric self-assigned this Sep 18, 2024
@EliteMasterEric EliteMasterEric added type: enhancement Provides an enhancement or new feature. mods Issue is related to the use of mods. status: reviewing internally This PR is under internal review and quality assurance testing status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: reviewing internally This PR is under internal review and quality assurance testing labels Sep 18, 2024
@EliteMasterEric EliteMasterEric added this to the 0.5.1 milestone Sep 18, 2024
@EliteMasterEric EliteMasterEric changed the base branch from main to develop September 25, 2024 12:56
@ninjamuffin99 ninjamuffin99 merged commit de07497 into FunkinCrew:develop Sep 30, 2024
@Kade-github Kade-github deleted the fix-addCharacter branch October 1, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mods Issue is related to the use of mods. status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. type: enhancement Provides an enhancement or new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants