From 76e75143321fec9f28cb1e21a26499f390d10460 Mon Sep 17 00:00:00 2001 From: Mirroar Date: Sun, 8 Sep 2024 23:37:26 +0200 Subject: [PATCH] fix: (season 7) Fix typing for abandoned resources in score containers. --- src/room-intel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room-intel.ts b/src/room-intel.ts index 5e77068..d6eee0c 100644 --- a/src/room-intel.ts +++ b/src/room-intel.ts @@ -467,7 +467,7 @@ export default class RoomIntel { // @todo Also consider dropped resources or other structures. const resources: Partial> = {}; - const collections = [structures[STRUCTURE_STORAGE], structures[STRUCTURE_TERMINAL], ruins] as Array>; + const collections = [structures[STRUCTURE_STORAGE], structures[STRUCTURE_TERMINAL], ruins] as Array>; if (Game.shard.name === 'shardSeason') { collections.push(room.find(FIND_SCORE_CONTAINERS)); }