View Single Post
  #2  
Old 03-30-2013, 12:26 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Think about the logic there. Check if the first item matches, if it does give the upgrade, otherwise return the items. By the time you get to checking the second item you've already given everything back.

I'm no expert, but it seems to me you would want to check the whole list for matches before giving anything back.
Reply With Quote