mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Fix "disableGrid" option causing glitches in the puzzle dlc
This commit is contained in:
parent
5b035d7778
commit
10428ec6b9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user