Fixed previous items not being cleared from multiplayer campaign UI after a round ends. Closes #505

This commit is contained in:
Joonas Rikkonen
2018-07-20 13:50:04 +03:00
parent 20ed61a879
commit 07de2b2a0f
2 changed files with 4 additions and 0 deletions
@@ -57,6 +57,7 @@ namespace Barotrauma
public void CreateItems()
{
CreateItems(purchasedItems);
OnItemsChanged?.Invoke();
}
public static void CreateItems(List<ItemPrefab> itemsToSpawn)