Fix talent ignore resource when lua error on item skill
Merged
requested to merge otowakotori/t-engine4:fix-object-force_talent_ignore_ressources into master
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