Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704)
This commit is contained in:
committed by
GitHub
parent
cecf87997b
commit
a323ba8223
@@ -98,7 +98,7 @@ public sealed class PayloadSystem : EntitySystem
|
||||
|
||||
component.Owner = uid;
|
||||
|
||||
if (_serializationManager.Copy(data, component, null) is Component copied)
|
||||
if (_serializationManager.Copy(data.Component, component, null) is Component copied)
|
||||
EntityManager.AddComponent(uid, copied);
|
||||
|
||||
trigger.GrantedComponents.Add(registration.Type);
|
||||
|
||||
Reference in New Issue
Block a user