mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix "disableGrid" option causing glitches in the puzzle dlc
This commit is contained in:
@@ -186,7 +186,7 @@ export class MapView extends BaseMap {
|
||||
*/
|
||||
drawBackground(parameters) {
|
||||
// Render tile grid
|
||||
if (!this.root.app.settings.getAllSettings().disableTileGrid) {
|
||||
if (!this.root.app.settings.getAllSettings().disableTileGrid || !this.root.gameMode.hasResources()) {
|
||||
const dpi = this.backgroundCacheDPI;
|
||||
parameters.context.scale(1 / dpi, 1 / dpi);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user