Caching _fillable leads to deviant behavior
Opened this issue · 0 comments
alexanselmo commented
Caching fillable per room leads to cross-contamination of the filler/replenisher job pools. When it is called multiple times per tick, the _fillable
attribute will be cached with the first set of stuctureTypes it is called with, leading to any subsequent calls to return that value, regardless of having a differing structureTypes parameter.
screeps-quorum/src/extends/room/logistics.js
Lines 3 to 17 in f6868c5