MMOMinion

Full Version: fish task white-list bug report
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Line 173 and 189
Code:
for mustkeep in StringSplit(whitelistHQ,",") do
    if (mustkeep == lastCatch) then
        reutrn false
    else
        return true
    end
end

Code:
for mustkeep in StringSplit(whitelist,",") do
    if (mustkeep == lastCatch) then
        reutrn false
    else
        return true
    end
end

This logic will release the fish if it's the 2nd or 3rd in white-list.
return true after for loop.
This would work better:

Just replace those lines with these and it should do the trick.

Code:
local IsInWhitelist = false
for mustkeep in StringSplit(whitelist,",") do
  if (mustkeep == lastCatch) then
    IsInWhitelist = true
  end
end
return IsInWhitelist