Skip to content

Fix crash when tts language is not a string #5426

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

husqwc
Copy link

@husqwc husqwc commented May 29, 2025

Resolves

Setting the tts language to something other than a string causes a crash

For example, in this script, the sprite never says meow:
block_5_29_2025-6_07_37 PM

Proposed Changes

a .toString() has been added to fix the crash

Reason for Changes

.toLowerCase() no longer crashes, and there is always an output for .toString() in JS

Test Coverage

No tests so far

Copy link

github-actions bot commented May 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@husqwc
Copy link
Author

husqwc commented May 30, 2025

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant