Browse Source

修改背包道具变化通知

huangyuhao 1 year ago
parent
commit
bf461b6761
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/data/bag.lua

+ 1 - 1
dev/data/bag.lua

@@ -324,7 +324,7 @@ function root:_on_res_update(uid, updateItems, reason)
324
         reason = reason,
324
         reason = reason,
325
         items = updateItems
325
         items = updateItems
326
     }
326
     }
327
-    util_user:user_proto_notify(uid, "on_res_update", msg)
327
+    util_user:user_proto_notify(uid, "on_user_items", msg)
328
 end
328
 end
329
 
329
 
330
 -- 资源变化事件
330
 -- 资源变化事件