소스 검색

修改背包道具变化通知

huangyuhao 1 년 전
부모
커밋
bf461b6761
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 324
         reason = reason,
325 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 328
 end
329 329
 
330 330
 -- 资源变化事件