Skip to content

Commit a1624a1

Browse files
committed
[UN]fix merge conflict
1 parent 505f071 commit a1624a1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ global.config = {
213213

214214
myRoom: {
215215
underAttackMinAttackTimer: 50,
216-
leastSpawnsToRebuildStructureSpawn: 1,
216+
leastSpawnsToRebuildStructureSpawn: 2,
217217
},
218218

219219
room: {

src/prototype_room_init.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,6 @@ Room.prototype.checkForSpawnPosition = function(pos) {
378378
* @return {undefined}
379379
**/
380380
Room.prototype.checkForMisplacedSpawn = function() {
381-
const spawnsCount = Object.keys(Game.spawns).length;
382-
if (spawnsCount < config.structureSpawn.leastStructureSpawnToDestroyStructureSpawn) {
383-
return;
384-
}
385381
const spawns = this.findMySpawns();
386382
const spawnsCount = spawns.length;
387383
if (spawnsCount < config.myRoom.leastSpawnsToRebuildStructureSpawn) {

0 commit comments

Comments
 (0)