diff --git a/src/neighbor/neighborInteract.js b/src/neighbor/neighborInteract.js index 3ef6a2f64f23b4f2bf62790d7f2665adbc17d7e8..450494514f0868b38c91c18da9adc09bcfb21343 100644 --- a/src/neighbor/neighborInteract.js +++ b/src/neighbor/neighborInteract.js @@ -5,7 +5,9 @@ App.Neighbor.Interact = (function() { * @returns {DocumentFragment} */ function list() { - V.arcologies.forEach((a) => a.prosperity = Math.clamp(a.prosperity, 1, 400)); + for (let i = 1; i < V.arcologies.length; i++) { + V.arcologies[i].prosperity = Math.clamp(V.arcologies[i].prosperity, 1, 400); + } if (!V.activeArcologyIdx) { V.activeArcologyIdx = 0; }