We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3623b70 commit 367cc23Copy full SHA for 367cc23
client/src/playback/Brushes.ts
@@ -317,6 +317,15 @@ export class WallsBrush extends SymmetricMapEditorBrush<StaticMap> {
317
const cheeseMine = this.map.cheeseMines.findIndex((l) => squareIntersects(l, pos, 2))
318
const dirt = this.map.initialDirt[idx]
319
320
+ for(const waypoints of this.map.catWaypoints.values()){
321
+ for(const waypoint of waypoints){
322
+ if(waypoint.x === pos.x && waypoint.y === pos.y) return true
323
+ for(let nei of this.map.getNeighbors(waypoint.x, waypoint.y)){
324
+ if(nei.x === pos.x && nei.y === pos.y) return true
325
+ }
326
327
328
+
329
if (cheeseMine !== -1 || dirt) return true
330
331
this.map.walls[idx] = 1
0 commit comments