Build 1.1.4.0

This commit is contained in:
Markus Isberg
2023-03-31 18:40:44 +03:00
parent efba17e0ff
commit 9470edead3
483 changed files with 17487 additions and 8548 deletions
@@ -141,7 +141,18 @@ namespace Barotrauma
}
}
if (items.Contains(item)) { return; }
items.Add(item);
//keep lowest-condition items at the top of the stack
int index = 0;
for (int i = 0; i < items.Count; i++)
{
if (items[i].Condition > item.Condition)
{
break;
}
index++;
}
items.Insert(index, item);
}
/// <summary>