Update 050-functions.lua

Quest Big Foot Burden:

hi, I tested the quest, but that part did not work because it will always be accepted the 1st "if" in line 83, put a limit in the case. And it worked ...
Merge pull request #1416 from Dcfalc/patch-2

Update 050-functions.lua