stujones11 / shooter

First Person Shooter Mod for Minetest
Other
30 stars 18 forks source link

Inventory corruption when using automatic guns #51

Open ClobberXD opened 4 years ago

ClobberXD commented 4 years ago

See MT-CTF/capturetheflag#598

Selecting the active hotbar slot (either by scrolling or by using numeric keys) while firing an automatic gun (like the SMG) copies over the weapon's ItemStack (incl. wear) over to the new slot, over-writing what was previously in the slot.

This bug is present in v0.6.1, and is most likely present in v0.6.0 as well.

Repro steps