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

Fix input setup function when copying character to different project #21

Merged

Conversation

FelixJons
Copy link
Contributor

Fixed the function that is used to register the required input actions when the character has been copied to a different project. The previous code sent INPUT_ACTIONS[action] as the second argument to action_add_events() , which was read as an int. The new code instead creates a new local InputEvent with the associated Key enum instead.

@NathanLovato NathanLovato merged commit b907688 into gdquest-demos:main Jun 4, 2023
@NathanLovato
Copy link
Contributor

Thanks much!

@FelixJons FelixJons deleted the fix-register-input-actions branch June 4, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants