wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
549 stars 333 forks source link

event playerUse does not account for pod's Allow Buttons #3121

Open deltamolfar opened 1 month ago

deltamolfar commented 1 month ago

Describe the bug event playerUse does not fire, when you click on anything and/or origin E2 by using left click in pod controller's controlled seat, while pod controller's input "Allow Buttons" is set to 1

To Reproduce Steps to reproduce the behavior:

  1. Spawn Pod Controller, Seat, and link it
  2. Set Pod Controller's "Allow Buttons" input to 1/true
  3. Spawn E2 with following code: event playerUse(Player:entity, Entity:entity) { print(Player, Entity) }
  4. Click on nearby ents
  5. Observer nothing

Expected behavior Event should be fired