mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Update screenshot_exporter.js
This commit is contained in:
parent
8372293d5d
commit
e63638f364
@ -64,7 +64,7 @@ export class HUDScreenshotExporter extends BaseHUDPart {
|
|||||||
} else {
|
} else {
|
||||||
chunkSizePixels = Math.floor(128 * (128 / dimensions.y));
|
chunkSizePixels = Math.floor(128 * (128 / dimensions.y));
|
||||||
}
|
}
|
||||||
logger.log("ChunkSizePixels:", chunkSizePixels);
|
logger.log("ChunkSizePixels:", chunkSizePixels);
|
||||||
}
|
}
|
||||||
|
|
||||||
const chunkScale = chunkSizePixels / (globalConfig.mapChunkSize * globalConfig.tileSize);
|
const chunkScale = chunkSizePixels / (globalConfig.mapChunkSize * globalConfig.tileSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user