在js/rpg_scenes.js里查找
Scene_Boot.prototype.isGameFontLoaded
Scene_Boot.prototype.isGameFontLoaded
将
Scene_Boot.prototype.isGameFontLoaded = function() { if (Graphics.isFontLoaded('GameFont')) { return true; } else if (!Graphics.canUseCssFontLoading()){ var elapsed = Date.now() - this._startDate; if (elapsed >= 60000) { throw new Error('Failed to load GameFont'); } } };
Scene_Boot.prototype.isGameFontLoaded = function() {
if (Graphics.isFontLoaded('GameFont')) {
return true;
} else if (!Graphics.canUseCssFontLoading()){
var elapsed = Date.now() - this._startDate;
if (elapsed >= 60000) {
throw new Error('Failed to load GameFont');
}
}
};
改成
Scene_Boot.prototype.isGameFontLoaded = function() { return true; };
Scene_Boot.prototype.isGameFontLoaded = function() {
return true;
};
|