Mea Culpa 5/5 (1)

posted in: Uncategorized | 0

I made a mistake on my initial posting of my inventory sorting scripts:

Ore Sorting

Ingot Sorting

Component Sorting

The loop that went through the items was supposed to start like:

  1. for(int j = containerItems.Count-1; j >= 0; j--)

but I inadvertently had written it like:

  1. for(int j = containerItems.Count; j >= 0; j--)

Sorry about the mixup!

Please rate this post

Leave a Reply