Describe the bug
If a GM and a Player are connected and a GM reduces a Player's mech to 0 HP, automation does not cause the structure popup for either the GM or the player. It does work however if the Player is not connected, if the Player reduces their own mech to 0 HP, or if it is anything other than a Player's tokens. It throws no errors in the console.
To Reproduce
Steps to reproduce the behavior:
Create a new LANCER world.
Create a dummy player and log onto that in the browser of your choice.
Import and attach any character and their mech to the dummy player, making them owner.
Place the mech and set its HP to 0 on the GM's screen. There will be no popup on the player's screen.
Expected behavior
When a GM reduces the HP of a Player's mech to 0, the structure popup should appear for a player automatically if automation is enabled.
Describe the bug If a GM and a Player are connected and a GM reduces a Player's mech to 0 HP, automation does not cause the structure popup for either the GM or the player. It does work however if the Player is not connected, if the Player reduces their own mech to 0 HP, or if it is anything other than a Player's tokens. It throws no errors in the console.
To Reproduce Steps to reproduce the behavior:
Expected behavior When a GM reduces the HP of a Player's mech to 0, the structure popup should appear for a player automatically if automation is enabled.
Screenshots https://github.com/Eranziel/foundryvtt-lancer/assets/35507599/cf2ebca1-5ce1-44bf-9595-be519db5957f
Platform (please complete the following information):
Additional context It also includes Stress checks in the same manner, partially shown in the video.
Discord contact info fayeble/Fayeble