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: Saved running scripts are started before SWC is initialized #1857

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

catloversg
Copy link
Contributor

Saved running scripts are started in Engine.load, but Engine.load is called at the same time as initSwc. Therefore, SWC is usually not initialized when we use it to transform TS scripts.

Fixes #1853.

src/ui/LoadingScreen.tsx Outdated Show resolved Hide resolved
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.

TypeScript scripts crash on game load
2 participants