diff --git a/js/retro/RetroArchitecture.js b/js/retro/RetroArchitecture.js index f5a47ad..ea4d440 100644 --- a/js/retro/RetroArchitecture.js +++ b/js/retro/RetroArchitecture.js @@ -317,7 +317,7 @@ export default class RetroArchitecture { context.drawImage( this.tilesetSpriteBackground.canvas, - -(field.tile.index % 2) * this.tileWidth, + -((field.tile.index + 2) % this.tilesBackground) * this.tileWidth, 0, this.tileWidth, this.tileHeight,