We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbc594 commit daae418Copy full SHA for daae418
js/rpg_sprites/Spriteset_Map.js
@@ -153,6 +153,15 @@ Spriteset_Map.prototype.updateParallax = function() {
153
Spriteset_Map.prototype.updateTilemap = function() {
154
this._tilemap.origin.x = $gameMap.displayX() * $gameMap.tileWidth();
155
this._tilemap.origin.y = $gameMap.displayY() * $gameMap.tileHeight();
156
+
157
+ // Fix tilemap not being ready, by LTN Gaming
158
+ if (this._tilemap.bitmaps) {
159
+ if (!this.isTilesetReady && this._tilemap.bitmaps.every(bitmap => bitmap.isRequestReady())) {
160
+ this._tilemap.refresh();
161
+ this._tilemap.refreshTileset()
162
+ this.isTilesetReady = true
163
+ }
164
165
};
166
167
Spriteset_Map.prototype.updateShadow = function() {
0 commit comments