store 2 items of each imported book.

This commit is contained in:
nek0 2020-04-27 14:39:16 +02:00
parent f87067ffb6
commit 6b076a7538
1 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,11 @@ namespace Bücherwurm
public void MakeImport(string JsonText)
{
Catalogue.Import(JsonText);
foreach (var book in Catalogue.GetBooks())
{
Inventory.Add(book);
Inventory.Add(book);
}
}
}
}