From e01bd9a3e11d0d5edc024d9fb20feea3c78f2138 Mon Sep 17 00:00:00 2001 From: krmbn0576 Date: Wed, 11 Oct 2017 10:06:53 +0900 Subject: [PATCH] fix #118 --- js/rpg_core/Graphics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;