fix: Replaces FindItem(s)ByType(s) implementation with BFS strategy (#1454)

This commit is contained in:
Stefano Merotta 2023-08-19 07:05:28 +02:00 • committed by GitHub
parent cd5fddd8d1
commit 52ca1fe686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 135 additions and 160 deletions

View file

@ -273,7 +273,7 @@ public partial class SalvageBag : Bag
var items = FindItemsByType(_clothTypes);
for (var i = 0; i < items.Length; i++)
for (var i = 0; i < items.Count; i++)
{
from.AddToBackpack(items[i]);
}