Attack isn't stopped when swapping to hotbar weapon
Summary
When swapping the current weapon with a weapon in the hotbar while pressing down left click to attack, the attack isn't stopped or changed to the new weapon type. (See video)
Steps to reproduce
- Equip any weapon (most visible with a healing sceptre).
- Bind a weapon of another type to item slot 2 (any slot would work).
- Press your attack key.
- Press 2, while not releasing your attack key.
What is happening: You still attack with the weapon before.
What I would expect: Either the current attack is stopped or the attack of the previous weapon is swapped with the attack of the current weapon.
Video
Video of the issue
System details
Arch Linux, installed via the AUR. The problem was reported to me by a friend playing on windows, however.
Veloren version
Pre-Alpha-2021-03-01 (e114786f)