Skip to content

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

This comment was marked as abuse.

@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