From 1ea145fa6c94844fa1fd33d8ebb85962a620b862 Mon Sep 17 00:00:00 2001 From: 1076390229 <1076390229@qq.com> Date: Tue, 5 Aug 2025 21:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=88=A4=E6=96=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua_probject/base_project/Game/View/FGAssistView.lua | 4 ++-- lua_probject/base_project/Game/View/FamilyView.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua_probject/base_project/Game/View/FGAssistView.lua b/lua_probject/base_project/Game/View/FGAssistView.lua index dd2de0df..8c53450b 100644 --- a/lua_probject/base_project/Game/View/FGAssistView.lua +++ b/lua_probject/base_project/Game/View/FGAssistView.lua @@ -142,7 +142,7 @@ function M:PlayerRenderer(index, obj) local btn_invite = obj:GetChild('btn_invite') btn_invite:GetController('online').selectedIndex = 0 - if self._data_number[i].uid ~= DataManager.SelfUser.account_id and self._data_number[i].online == 1 and self._data_number[i].playing == "stopPlaying" then + if self._data_number[i].uid ~= DataManager.SelfUser.account_id and self._data_number[i].online == 1 and self._data_number[i].playing ~= "startPlaying" then btn_invite:GetController('online').selectedIndex = 1 end @@ -150,7 +150,7 @@ function M:PlayerRenderer(index, obj) local state = 0 if self._data_number[i].online == 1 and self._data_number[i].playing == "startPlaying" then state = 2 - elseif self._data_number[i].online == 1 and self._data_number[i].playing == "stopPlaying" then + elseif self._data_number[i].online == 1 and self._data_number[i].playing ~= "startPlaying" then state = 1 elseif self._data_number[i].online == 0 then state = 0 diff --git a/lua_probject/base_project/Game/View/FamilyView.lua b/lua_probject/base_project/Game/View/FamilyView.lua index 75bce889..8502909d 100644 --- a/lua_probject/base_project/Game/View/FamilyView.lua +++ b/lua_probject/base_project/Game/View/FamilyView.lua @@ -485,7 +485,7 @@ function M:ChangeNumber(fgCtr, group_id, limit, num, minus_only, sort_type) local state = 0 if player.online == 1 and player.playing == "startPlaying" then state = 2 - elseif player.online == 1 and player.playing == "stopPlaying" then + elseif player.online == 1 and player.playing ~= "startPlaying" then state = 1 elseif player.online == 0 then state = 0