Skip to content

Commit

Permalink
修复一处BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed Nov 16, 2023
1 parent 233908b commit 3c4f536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/business/attr/attribute_relay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ function AttributeRelay:on_attr_relay(player, player_id)
end
end
if next(attrs) then
player:set_relay_attrs({})
local ok, code = player:call_service(service_name, "rpc_attr_relay", attrs, quanta.service)
if qfailed(code, ok) then
log_err("[AttributeRelay][on_attr_relay] sync failed attrs={}, player_id={}, code={}", attrs, player_id, code)
end
end
end
player:set_relay_attrs({})
end

quanta.attr_relay = AttributeRelay()
Expand Down

0 comments on commit 3c4f536

Please sign in to comment.