If a player unit (spot or boss) is selected and the player pans the grid and releases the mouse button while over a valid destination for the player unit, the player unit is moved to that destination. The player unit should not move in this case.
How to reproduce:
- Select a player unit
- Begin panning the grid with ctrl/cmd
- Release the mouse button while over an empty grid square
The solution likely just requires checking for being in pan mode/pan key pressed and not moving the unit if this is the case.
If a player unit (spot or boss) is selected and the player pans the grid and releases the mouse button while over a valid destination for the player unit, the player unit is moved to that destination. The player unit should not move in this case.
How to reproduce:
The solution likely just requires checking for being in pan mode/pan key pressed and not moving the unit if this is the case.