Skip to content

Commit

Permalink
fix: fix #783 remote container construction sites not beeing handled
Browse files Browse the repository at this point in the history
  • Loading branch information
schealex committed Apr 4, 2024
1 parent 2f95a26 commit c21f0d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/room/creeps/roleManagers/remote/remoteSourceHarvester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ export class RemoteHarvester extends Creep {

buildContainer(): number {
// Don't build new remote containers until we can reserve the room
if (!CommuneUtils.shouldRemoteContainers(this.room)) return Result.noAction
// if (!CommuneUtils.shouldRemoteContainers(this.room)) return Result.noAction
if (!this.room.controller.reservation || this.room.controller.reservation.username !== Memory.me) return Result.noAction

// Make sure we're a bit ahead source regen time

Expand Down

0 comments on commit c21f0d5

Please sign in to comment.