Fix SOS slot recognition

This commit is contained in:
Michael Scire 2016-12-07 22:55:50 -08:00
parent 5627b07e84
commit f0b1410613

View File

@ -91,8 +91,7 @@ private static EncounterArea[] addExtraTableSlots(EncounterArea[] GameSlots, Enc
{
foreach (EncounterArea g in GameSlots)
{
EncounterArea slots = SpecialSlots.FirstOrDefault(l => l.Location == g.Location);
if (slots != null)
foreach (var slots in SpecialSlots.Where(l => l.Location == g.Location))
g.Slots = g.Slots.Concat(slots.Slots).ToArray();
}
return GameSlots;