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 crash when creating DialogicLabelEvent in gdscript #2480

Conversation

shazzner
Copy link
Contributor

Adding a label via gdscript will cause Dialogic to crash in get_unique_identifier() when attempting to get_extension() on a null file_path. This PR checks if it's null and returns "".

@Jowan-Spooner
Copy link
Member

Sorry this took so long, I was really inactive these past months. This looks like what you'd expect the method to return, so I'm fine with doing this, though I wonder if we should stop it before it get's there in your situation.

Will merge anyways. Thanks!

@Jowan-Spooner Jowan-Spooner merged commit ee559c4 into dialogic-godot:main Jan 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants