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:
@@ -327,7 +327,9 @@ class Loader{
|
||||
p2.hash("")
|
||||
}
|
||||
|
||||
promises.push(this.canvasTest.drawAllImages())
|
||||
promises.push(this.canvasTest.drawAllImages().then(result => {
|
||||
perf.allImg = result
|
||||
}))
|
||||
|
||||
if(gameConfig.plugins){
|
||||
gameConfig.plugins.forEach(obj => {
|
||||
@@ -349,8 +351,7 @@ class Loader{
|
||||
})
|
||||
}
|
||||
|
||||
Promise.all(promises).then(result => {
|
||||
perf.allImg = result
|
||||
Promise.all(promises).then(() => {
|
||||
perf.load = Date.now() - this.startTime
|
||||
this.canvasTest.clean()
|
||||
this.clean()
|
||||
|
||||
Reference in New Issue
Block a user