feat: better code formatting
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const checkPositionWalkable = (pos: RoomPosition) => {
|
||||
// Check if the position is not obstructed by a wall
|
||||
const terrain = pos.lookFor(LOOK_TERRAIN);
|
||||
return terrain.length === 0 || terrain[0] !== "wall";
|
||||
return terrain.length === 0 || terrain[0] !== 'wall';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user