修复稳定

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

@@ -717,6 +717,7 @@ void DZ_GamePlayer::upPlayerState()
// setReadyVisible(true);
//}
setReadyVisible(true);
setOfflineVisible(false);
break;
}
case US_PLAYING:

View File

@@ -825,7 +825,12 @@ bool DZGameScene::onGameSceneFree(void* pData, int nDataSize)
m_nCellScore = 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;
}