Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Aug 31, 2024
1 parent e54d9d2 commit 1086b57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/view/propview.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ func (m *_PropView) sync(ps *PropSync, revision int64, op string, args ...any) {

} else if gate.CliDetails.DomainMulticast.Contains(dst) {
// 同步至指定分组
rpcutil.ProxyGroup(m, dst).CliOnewayRPC(ps.entity.GetId().String(), "DoSync", ps.name, revision, op, args)
group, _ := gate.CliDetails.DomainMulticast.Relative(dst)
rpcutil.ProxyGroup(m, dst).CliOnewayRPC(group, "DoSync", ps.entity.GetId(), ps.name, revision, op, args)

} else if gate.CliDetails.DomainBroadcast.Equal(dst) {
// 同步至包含实体的所有分组
Expand Down

0 comments on commit 1086b57

Please sign in to comment.