Skip to content

Commit 6e6a085

Browse files
authored
Apply suggestions from code review
1 parent f84f13e commit 6e6a085

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@ methods:
5151
signal created by `Class.CollectionService:GetInstanceAddedSignal()` with
5252
the given tag.
5353
54-
**Warning:** An instance's tags that were added client-side will be dropped if the server later adds or removes a tag on that instance, because the server replicates all tags together and overwrites previous tags.
54+
##### Warnings
55+
56+
- An instance's tags that were added client-side will be dropped if the server
57+
later adds or removes a tag on that instance, because the server replicates all
58+
tags together and overwrites previous tags.
5559
56-
**Warning:** When tagging an instance, it is common that some resources
57-
are used to give the tag its functionality, e.g. event connections or
58-
tables. To prevent memory leaks, it is a good idea to clean these up
60+
- When tagging an instance, it is common that some resources
61+
are used to give the tag its functionality, for example event connections or
62+
tables. To prevent memory leaks, it's a good idea to clean these up
5963
(disconnect, set to nil, etc) when no longer needed for a tag. Do this
6064
when calling `Class.CollectionService:RemoveTag()`, calling
6165
`Class.Instance:Destroy()` or in a function connected to a signal returned

0 commit comments

Comments
 (0)