Skip to content

Commit 4f0b8ec

Browse files
authored
Update Workspace.yaml (#1038)
game:GetService("Workspace") is unnecessary, workspace is global https://create.roblox.com/docs/reference/engine/globals/RobloxGlobals#workspace I see no purpose of recommending that, using GetService for workspace is sacrilegious ## Changes <!-- Please summarize your changes. --> <!-- Please link to any applicable information (forum posts, bug reports, etc.). --> ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate.
1 parent 0655124 commit 4f0b8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en-us/reference/engine/classes/Workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ description: |
3030
3131
`Class.Workspace` can be accessed several ways, all of which are valid.
3232
33-
- `game:GetService("Workspace")` (recommended)
3433
- `workspace`
34+
- `game:GetService("Workspace")`
3535
- `game.Workspace`
3636
3737
##### Notes

0 commit comments

Comments
 (0)