Skip to content

Commit

Permalink
属性系统支持复合属性
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed May 30, 2024
1 parent baa5dbd commit 54bb9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/business/component/attr_component.lua
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function AttrComponent:notify_attr(attr_id, value, oldval, attr)
self.sync_attrs[attr_id] = attr
event_mgr:publish_frame(self, "on_attr_update")
end
self:notify_event(sformat("on_attr_changed_%s", attr_id), value, oldval, attr_id, self)
self:notify_event(sformat("on_attr_changed_%s", attr_id), attr_id, value, oldval, self)
end

--获取属性
Expand Down

0 comments on commit 54bb9dc

Please sign in to comment.