天梯分读取最小值
This commit is contained in:
parent
3b30c5886b
commit
944c9340d7
@ -46,7 +46,8 @@ export default class RecordController extends BaseController {
|
|||||||
error(`save game record, account not found: ${player.accountid}`);
|
error(`save game record, account not found: ${player.accountid}`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
user.season_score += player.scoreChange;
|
|
||||||
|
user.season_score = Math.max(user.season_score + player.scoreChange, fc.get(70002).number);
|
||||||
if (!user.season_data) {
|
if (!user.season_data) {
|
||||||
user.season_data = new Map();
|
user.season_data = new Map();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user