Quote:
Originally Posted by joligario
You have it outside of the sub..
Personally, I like having the return items in the elsif statement just so I feel better that the hand-in item won't accidentally be returned along with the reward.
|
I'm pretty sure that can't happen. From what I understand if it satisfies the if condition, the item is actually removed from the hash so it wouldn't be available to be returned. I haven't looked at it all that much but that is how I understand it to work.
Good catch on the placement of the return too. I didn't look at the code real close.