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

Prevent infinite recursion in rock's grab and ungrab scripts #2907

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tobbi
Copy link
Member

@tobbi tobbi commented Apr 15, 2024

This prevents #2906 from happening.

@weluvgoatz
Copy link
Member

I think the PR is fine; I just set a script like this in order to prevent it from running infinitely:
image

@weluvgoatz
Copy link
Member

However this PR does fix the crash. Thank you!!!!

@tobbi
Copy link
Member Author

tobbi commented Apr 15, 2024

I'd really like to fix the flickering issue as well so that it only flips once.

@weluvgoatz
Copy link
Member

Not sure if possible since the script seems to run every frame while the rock is being held, rather than just when you first hold it.

@tobbi
Copy link
Member Author

tobbi commented May 29, 2024

I think the solution might be easier than I initially thought.

@tobbi tobbi force-pushed the rock-script-infinite-recursion branch from dae4fe1 to 9a06fb3 Compare May 29, 2024 09:19
@tobbi tobbi self-assigned this May 29, 2024
@tobbi tobbi marked this pull request as ready for review May 29, 2024 09:20
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.

None yet

3 participants