Fix talent ignore resource when lua error on item skill
Using item talent will temporary set force_talent_ignore_ressources to avoid using resources.
However, it will not reset the flag when a lua error happen and exit this function
This patch will fix this problem
The changes were merged into master. The source branch has been removed.