Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
395 stars 73 forks source link

[BUG] Teleport Zones don't work for non GM players without 'Request' permissions [dev] #1245

Closed rexy712 closed 1 year ago

rexy712 commented 1 year ago

Describe the bug Teleport Zones don't work for players without having the permissions set to 'Request'. This applies to Immediate and non-Immediate mode Teleport Zones.
In non-Immediate mode, a popup appears asking if you want to use the Teleport. Hitting 'Use' does not do anything for normal players. For the GM, the button operates as expected.
In Immediate mode, nothing happens at all for normal players. The Teleport works as expected for the GM.
Setting the Logic Permissions to 'Request' sends a prompt to the GM and, if they approve it, the Teleport works as expected.

To Reproduce Steps to reproduce the behavior:

  1. Create a shape, give teleport logic.
  2. Set Permissions to 'Enabled' for the teleport.
  3. Have a player move their token to the teleport.
  4. They hit the 'Use' prompt.
  5. Nothing happens.

Expected behavior The teleport should work for all players as it currently does for the GM.

Screenshots

GM on the left, normal player on the right.

https://user-images.githubusercontent.com/2442544/226767488-850cb870-41b2-4f8e-820a-597f9b674385.mp4

Desktop: