fix: typo

main
spacemeowx2 2022-11-02 17:00:29 +08:00
parent e923f3292b
commit 4a14357400
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ export class StatInkExporter implements GameExporter {
result.rank_after_exp = rankState.rankPoint;
// splatnet returns null, so we need to calculate it
if (result.rank_exp_change === null) {
if (result.rank_exp_change === undefined) {
result.rank_exp_change = result.rank_after_exp - result.rank_before_exp;
}