Skip to content

Commit e666830

Browse files
authored
Merge pull request rpgtkoolmv#131 from rpgtkoolmv/fix_android
fix error on deploy to Android
2 parents 21d355f + e01bd9a commit e666830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/rpg_core/Graphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function Graphics() {
88
throw new Error('This is a static class');
99
}
1010

11-
Graphics._cssFontLoading = document.fonts && document.fonts.ready;
11+
Graphics._cssFontLoading = document.fonts && document.fonts.ready && document.fonts.ready.then;
1212
Graphics._fontLoaded = null;
1313
Graphics._videoVolume = 1;
1414

0 commit comments

Comments
 (0)