Removed reduntant code to start working on chunk rendering

This commit is contained in:
2024-09-17 00:50:59 +02:00
parent 6bc0c7ab3f
commit 43a59c8f7c
2 changed files with 3 additions and 8 deletions

View File

@ -81,8 +81,7 @@ function createTileLayer() {
const layer = zoneTilemap.value.createBlankLayer('tiles', tilesetImages as any, 0, config.tile_size.y) as Phaser.Tilemaps.TilemapLayer
layer.setDepth(0)
layer.setCullPadding(0, 0)
return layer
}