Skip to content

Commit

Permalink
-Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
bartz24games@gmail.com committed Aug 19, 2020
1 parent 4462354 commit e2f0be4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Randomizers/RandoShops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,6 @@ private void RandomizeShops()
public override void Save()
{
File.WriteAllBytes("db\\resident\\shop.wdb", shops.Data);

List<string> text = new List<string>();
shops.IdList.Where(id => !id.ID.StartsWith("!")).ToList().ForEach(id => {
text.Add(id.ID);
text.AddRange(Enumerable.Range(0, shops[id.ID].ItemCount).Select(i => $"{Items.items.Find(item => item.ID == shops[id.ID].GetItemID(i)).Name}"));
});
File.WriteAllLines("shops.txt", text);
}
}
}

0 comments on commit e2f0be4

Please sign in to comment.