Skip to content

Lily/MoreEvents: added "whenProjectPaused" and "whenProjectUnPause" #2040

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 4 commits into
base: master
Choose a base branch
from

Conversation

fath11
Copy link
Contributor

@fath11 fath11 commented Mar 18, 2025

No description provided.

@github-actions github-actions bot added the pr: change existing extension Pull requests that change an existing extension label Mar 18, 2025
@fath11
Copy link
Contributor Author

fath11 commented Mar 18, 2025

!format

const topBlockId = script.blockId;
for (let j = 0; j < runtime.threads.length; j++) {
if (
runtime.threads[j].topBlock === topBlockId &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not account for clones properly. The script is only going to run in one of the clones at a time since theyll have the same top block ID

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not quite sure how to fix this..

@fath11 fath11 closed this Apr 20, 2025
@yuri-kiss
Copy link
Member

why was this closed

@fath11
Copy link
Contributor Author

fath11 commented Apr 21, 2025

wait why is this closed, i didnt meant to close it lol

@fath11 fath11 reopened this Apr 21, 2025
@LilyMakesThings
Copy link
Contributor

I'm not a big fan of doing this as it is interfacing with a feature that is introduced through an addon and nothing internally. I'd rather it be introduced into a separate extension like Runtime Options, not here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: change existing extension Pull requests that change an existing extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants