Skip to content

Fix IsServer/IsClient checking#215

Merged
sasial-dev merged 5 commits intored-blox:0.6.xfrom
tacheometry:fix-runtime-checking
Dec 13, 2025
Merged

Fix IsServer/IsClient checking#215
sasial-dev merged 5 commits intored-blox:0.6.xfrom
tacheometry:fix-runtime-checking

Conversation

@tacheometry
Copy link
Contributor

IsServer/IsClient should be checked before the remote scope validation.

If you accidentally require the client module on the server, the remote scope validation triggers first. Then, you can only figure out that you required the wrong module by yourself, the error doesn't indicate the most important problem.

@sasial-dev
Copy link
Collaborator

Thanks - that's a great idea.
Do you mind removing the unrelated import changes from the diff and fixing CI?

@tacheometry
Copy link
Contributor Author

Reverted, I think it was because of my auto formatting 👍

@sasial-dev
Copy link
Collaborator

CI has failed but that's not your fault!!! It will be due to the rust version that just released today... https://blog.rust-lang.org/2025/12/11/Rust-1.92.0/
I'll fix it and merge back into this PR so CI passes. 😊

@sasial-dev
Copy link
Collaborator

@tacheometry - did you test your output changes locally? The tests have picked up that RunService is not defined.
Brave Browser-eNF5Gpod@2x

@tacheometry
Copy link
Contributor Author

Check if it's alright

Copy link
Collaborator

@sasial-dev sasial-dev left a comment

Choose a reason for hiding this comment

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

Thank you!

@sasial-dev sasial-dev merged commit 2f2ea72 into red-blox:0.6.x Dec 13, 2025
2 checks passed
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