Describe the bug
When targeting a token with an attack, having a mech token on the scene with Spotter and a non-integer width (e.g. 0.5) causes an error due to infinite recursion.
To Reproduce
Steps to reproduce the behavior:
Create a scene with:
Any PC mech
A PC mech with Spotter and token width & height manually set to 0.5
An NPC mech with lock on
Start an attack with the first PC mech
Target the NPC with lock on
Attack HUD stops responding. Console logs an error due to maximum stack size reached.
Expected behavior
Token size should not cause a breaking error in the attack flow.
Describe the bug When targeting a token with an attack, having a mech token on the scene with Spotter and a non-integer width (e.g. 0.5) causes an error due to infinite recursion.
To Reproduce Steps to reproduce the behavior:
Expected behavior Token size should not cause a breaking error in the attack flow.
Screenshots