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