From b48bb85c5f0493edebcd8d8bcf6135898c274ce5 Mon Sep 17 00:00:00 2001 From: chenxi Date: Thu, 15 Jun 2023 18:46:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E5=AD=97=E6=AE=B5=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/userdata/bag/item_data.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/app/userdata/bag/item_data.lua b/lua/app/userdata/bag/item_data.lua index 19fde936..31a8ceae 100644 --- a/lua/app/userdata/bag/item_data.lua +++ b/lua/app/userdata/bag/item_data.lua @@ -22,11 +22,11 @@ function ItemData:init(data) for _, info in pairs(data.items) do if info.id == GConst.ItemConst.ITEM_ID_GEM then local parmas = {} - parmas.gem = info.count + parmas.user_gem = info.count CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas) elseif info.id == GConst.ItemConst.ITEM_ID_GOLD then local parmas = {} - parmas.gold = info.count + parmas.user_gold = info.count CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas) end if info.id == GConst.ItemConst.ITEM_ID_VIT then