mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Update screenshot_exporter.js
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user