mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 18:05:54 +00:00
Refactored weapon equipment system
This commit is contained in:
parent
2f76d4742e
commit
1a403d163a
10 changed files with 164 additions and 73 deletions
|
|
@ -24,6 +24,7 @@ public partial class ItemsMenu : ItemList
|
|||
public void Fill()
|
||||
{
|
||||
var sortedItems = InventoryManager.Instance.Items.OrderBy(x => x.Item.ItemKey.ToString()).ToList();
|
||||
// If it crashes here I might have forgot to add new items to the itemsdatabase
|
||||
foreach (var item in sortedItems)
|
||||
{
|
||||
if (item.Count <= 0) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue