[BUG] GMs cannot cause the automatic structure popup for players. #707
Labels
automation
Involves built-in automation
bug
Something isn't working
players
Topics that a player could encounter, typically pilot/mech behavior
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
The text was updated successfully, but these errors were encountered: