From b18187a9372c71517bfd34a5b3c8315256296b17 Mon Sep 17 00:00:00 2001 From: chenxi Date: Wed, 24 May 2023 21:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=9F=8E=E8=B4=A7=E5=B8=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/main_city/main_city_ui.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/app/ui/main_city/main_city_ui.lua b/lua/app/ui/main_city/main_city_ui.lua index c02fdf22..8034c2f2 100644 --- a/lua/app/ui/main_city/main_city_ui.lua +++ b/lua/app/ui/main_city/main_city_ui.lua @@ -37,8 +37,9 @@ function MainCityUI:getCurrencyParams() table.remove(self.currencyParams.itemIds) end if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then - self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_VIT - self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GOLD + self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_GOLD + self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GEM + self.currencyParams.itemIds[3] = GConst.ItemConst.ITEM_ID_VIT elseif self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.HERO then self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_VIT self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GOLD