diff --git a/js/rpg_core/Graphics.js b/js/rpg_core/Graphics.js index 9be6ec9d..25a19552 100644 --- a/js/rpg_core/Graphics.js +++ b/js/rpg_core/Graphics.js @@ -8,7 +8,7 @@ function Graphics() { throw new Error('This is a static class'); } -Graphics._cssFontLoading = document.fonts && document.fonts.ready; +Graphics._cssFontLoading = document.fonts && document.fonts.ready && document.fonts.ready.then; Graphics._fontLoaded = null; Graphics._videoVolume = 1;