forked from noxious/client
i hate environment differences
This commit is contained in:
parent
d997a33b86
commit
8f9b19ba8b
@ -73,8 +73,8 @@ export const calculateIsometricDepth = (positionX: number, positionY: number, wi
|
||||
async function loadTileTextures(tiles: TileT[], scene: Phaser.Scene) {
|
||||
// Load each tile into the scene
|
||||
for (let tile of tiles) {
|
||||
if (!tile.id || !tile.updatedAt) continue
|
||||
|
||||
if (!tile?.id || !tile?.updatedAt) continue
|
||||
|
||||
const textureData = {
|
||||
key: tile.id,
|
||||
data: '/textures/tiles/' + tile.id + '.png',
|
||||
|
Loading…
x
Reference in New Issue
Block a user