pwatson100 / alienrpg

Alien RPG system for Foundry VTT.
GNU General Public License v3.0
38 stars 31 forks source link

Infinity icons #252

Closed Leroy0790 closed 1 year ago

Leroy0790 commented 1 year ago

When a character carries more weight than allowed, the overweight icon starts to appear infinitely over the token crashing the game.

pwatson100 commented 1 year ago

I am unable to recreate the issue you are seeing. Could you try disabling all (non Alien) modules and see if it still happens.

Melkkart commented 1 year ago

Hi, with 0 modules installed. image drop item ... image I select sheet Actor ... image

I had a hard time reproducing the bug. The strange thing is that I could only get it in the Spanish version, but I don't think that has anything to do with it.

image

to infinity

pwatson100 commented 1 year ago

Thank you. That gives me a lead. I do my testing in English so it seems something odd might be going on with other languages enabled.

pwatson100 commented 1 year ago

Yep. As soon as you mentioned other languages, I had an idea what was going wrong in V11 and I was right.
When it checks to see if the condition exists it's trying to compare 'encumbered' against the localised version of encumbered ('gravado' in spanish), so it fails. Now to work out how to fix it.

Melkkart commented 1 year ago

I am grateful to you.

pwatson100 commented 1 year ago

I have released version 3.1.4 which should correct the issue.