1
This commit is contained in:
parent
ffe9a445da
commit
40616e8e7d
@ -192,7 +192,7 @@ class BattleDataService extends BaseService {
|
||||
$newRank = $user['rank'];
|
||||
$newScore = $user['score'];
|
||||
$match_mode = getReqVal('match_mode', 0);
|
||||
if (mt\RankSeason::getCurrentSeason() && !$match_mode){
|
||||
if (mt\RankSeason::getCurrentSeason() && !$match_mode && myself()->_getV(TN_RANK_STATUS, 0 ) != 1){
|
||||
$newScore = FormulaService::calcBattleAfterRankScore($user,$_REQUEST); //赛后排位积分
|
||||
mt\Rank::calcNewRankAndScore( $newRank, $newScore);
|
||||
$match_mode = 1;
|
||||
@ -570,7 +570,7 @@ class BattleDataService extends BaseService {
|
||||
|
||||
error_log('updateBattleData3');
|
||||
$this->currSeasonMeta = mt\RankSeason::getCurrentSeason();
|
||||
if ( $this->currSeasonMeta ) {
|
||||
if ( $this->currSeasonMeta && myself()->_getV(TN_RANK_STATUS, 0 ) != 1) {
|
||||
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
|
||||
if (!$this->seasonDb) {
|
||||
Season::add($this->currSeasonMeta['id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user