修复稳定

This commit is contained in:
2026-03-02 17:32:23 +08:00
parent 49fe75efff
commit bfa7d324ee
469 changed files with 728 additions and 602 deletions

View File

@@ -580,7 +580,12 @@ bool DDZGameScene::onGameSceneFree(void* pData, int nDataSize)
m_pTxtBaseScore->setString(utility::toString(pStatusFree->lCellScore));
m_pBtnReady->setVisible(true);
// Check if user already ready, don't show ready button if already prepared
GamePlayer* pSelfPlayer = getSelfGamePlayer();
if (pSelfPlayer == nullptr || pSelfPlayer->GetUserStatus() < US_READY)
{
m_pBtnReady->setVisible(true);
}
return true;
}

View File

@@ -492,6 +492,7 @@ void DDZPlayer::upPlayerState()
case US_READY:
{
setReadyVisible(true);
setOfflineVisible(false);
break;
}
case US_PLAYING: