@rbxts/covenant 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/covenant.luau +2 -1
package/package.json
CHANGED
package/src/covenant.luau
CHANGED
|
@@ -471,6 +471,7 @@ do
|
|
|
471
471
|
local function indicateUpdate()
|
|
472
472
|
willUpdate = true
|
|
473
473
|
end
|
|
474
|
+
self:subscribeComponent(component, indicateUpdate)
|
|
474
475
|
local hooks = createHooks({
|
|
475
476
|
indicateUpdate = indicateUpdate,
|
|
476
477
|
subscribeComponent = function(component, subscriber)
|
|
@@ -585,12 +586,12 @@ do
|
|
|
585
586
|
local parentEntityTrackerComponent = self:worldInternalComponent()
|
|
586
587
|
local parentComponent = self:worldInternalComponent()
|
|
587
588
|
self:defineComponentNetworkBehavior(parentComponent, replicated, predictionValidator)
|
|
588
|
-
self:defineComponentNetworkBehavior(childIdentityComponent, replicated, false)
|
|
589
589
|
local queryParentComponent = self:worldQuery(parentComponent):cached()
|
|
590
590
|
local willUpdate = true
|
|
591
591
|
local function indicateUpdate()
|
|
592
592
|
willUpdate = true
|
|
593
593
|
end
|
|
594
|
+
self:subscribeComponent(parentComponent, indicateUpdate)
|
|
594
595
|
local hooks = createHooks({
|
|
595
596
|
indicateUpdate = indicateUpdate,
|
|
596
597
|
subscribeComponent = function(component, subscriber)
|