Add a Road planner
This commit is contained in:
parent
ed73f8330b
commit
48350d6f33
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export const buildRoads = (room: Room) => {
|
||||
if (room.controller?.level ?? 0 < 2) {
|
||||
if ((room.controller?.level ?? 0) < 2) {
|
||||
return;
|
||||
}
|
||||
const sources = room.find(FIND_SOURCES);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue