More fixes

- Add list of enabled plugins to the diagnostics
- Fix broken image permormance in the diagnostics
- Fix parsing undefined values in score storage
- Do not error when verticalText or layeredText gets undefined text
This commit is contained in:
KatieFrogs
2022-03-04 01:41:56 +03:00
parent 89b159e33a
commit 0781c9b120
4 changed files with 11 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ class ScoreStorage{
var scoreArray = diffArray[i].slice(1).split(",")
for(var j in this.scoreKeys){
var name = this.scoreKeys[j]
var value = parseInt(scoreArray[j], 36) || 0
var value = parseInt(scoreArray[j] || 0, 36) || 0
if(value < 0){
value = 0
}