jaltepeter / MountUp

Mount Up! is a module for Foundry VTT that allows tokens to carry or be carried by other tokens. This is completely system agnostic, and fully customizable to fit right into your game.
https://brunhine.com/fvtt/mountup
Apache License 2.0
9 stars 9 forks source link

[BUG] mounting via macro does not work properly #15

Open liquidmetal17 opened 3 years ago

liquidmetal17 commented 3 years ago

Describe the bug When mounting via macro, the rider does not shrink and move to its mounted position like it does when the HUD button is used. In addition, if the macro is used to mount, the HUD button does not work. The dismount macro works just fine.

Environment Details Foundry VTT Version: (Example 0.7.7) Mount Up! Version: (Example 3.0.1)

To Reproduce Steps to reproduce the behavior: _1. use the macro MountUp.mount(rider.id, mount.id);

Expected behavior Using the mount macro should function the same as clicking the mount HUD button.

liquidmetal17 commented 3 years ago

Replacing line 94 with a copy of lines 39-57 in mountManager.js fixes the issue.