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