Selaa lähdekoodia

修改背包道具变化通知

huangyuhao 1 vuosi sitten
vanhempi
commit
bf461b6761
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
 -- 资源变化事件