Преглед изворни кода

修改背包道具变化通知

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
 -- 资源变化事件