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

Wait for game.Name to change before running rbx-reflector plugin #449

Conversation

kennethloeffler
Copy link
Member

@kennethloeffler kennethloeffler commented Sep 22, 2024

This PR changes the rbx-reflector Roblox Studio plugin so that it waits for game.Name to change before checking that the place it's running in is the defaults place.

This is necessary because (likely) after https://devforum.roblox.com/t/place-open-improvements-test/3086811, game.Name is only set to the value specified in the place file sometime after opening the place, meaning that the rbx-reflector plugin in its current state will never run.

Since it doesn't seem prudent to assume that game.Name will always have this behavior, there is a two second timeout.

@kennethloeffler kennethloeffler merged commit d139189 into rojo-rbx:master Sep 23, 2024
3 checks passed
@kennethloeffler kennethloeffler deleted the rbx-reflector-wait-for-game-name-changed branch September 23, 2024 00:19
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.

2 participants