From 2c0c3035cff310bb1480aeb0eb0c35f9daf4f8ce Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 20 Nov 2020 15:19:25 -0500 Subject: [PATCH] either returns a string, not an array --- src/endWeek/economics/neighborsDevelopment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endWeek/economics/neighborsDevelopment.js b/src/endWeek/economics/neighborsDevelopment.js index a48fb764cbf..bbd42ad2bee 100644 --- a/src/endWeek/economics/neighborsDevelopment.js +++ b/src/endWeek/economics/neighborsDevelopment.js @@ -899,7 +899,7 @@ App.EndWeek.neighborsDevelopment = function() { if (V.pedo_mode === 1 || V.minimumSlaveAge < 6) { arc.name = App.Neighbor.getUnusedName(App.Data.ArcologyNames.YouthPreferentialistLow); } else if (V.minimumSlaveAge < 14) { - arc.name = App.Neighbor.getUnusedName(either(App.Data.ArcologyNames.YouthPreferentialist, App.Data.ArcologyNames.YouthPreferentialistLow)); + arc.name = App.Neighbor.getUnusedName(App.Data.ArcologyNames.YouthPreferentialist.concat(App.Data.ArcologyNames.YouthPreferentialistLow)); } else { arc.name = App.Neighbor.getUnusedName(App.Data.ArcologyNames.YouthPreferentialist); } -- GitLab