|
|
@ -15,7 +15,7 @@ export default class ScoreRepo { |
|
|
|
this.scoreCache.sort((a, b) => b.value - a.value); |
|
|
|
|
|
|
|
if (this.scoreCache.length > 99) { |
|
|
|
this.scoreCache = this.scoreCache.slice(99, this.scoreCache.length - 1); |
|
|
|
this.scoreCache = this.scoreCache.slice(0, 100); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|