Hey there. Pretty annoying bug here. When using removeMagazine on grenades, it disables usage of that type of grenades till you drop them and pick them back up.
Description
Description
Details
Details
- Legacy ID
- 1993724631
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Inventory
Steps To Reproduce
- Give yourself 3 grenades and some smoke (player addMagazine "HandGrenade"; player addMagazine "smokeShell"))
- Check amount of magazines and see if you can throw a frag grenade (Works)
- Remove 3 magazine (player removeMagazine "HandGrenade")
- Check inventory. Still 1 grenade left, throw grenade, nothing happens
- Press Ctrl+G to switch to smoke. Smoke works fine. Switching back to grenades is not possible
- Put grenade on ground and pick it back up.
- Grenade now works again.
Additional Information
If you delete 1 smoke shell first, the smoke grenades still work (Exactly as it should), however when deleting a frag grenade first and deleting a smoke shell after that, the smoke grenades also bug out.
Event Timeline
Comment Actions
For anyone having problems with this, you can do a workaround by removing one more magazine than needed and then adding back one using addMagazine. That'll re-enable the usage of that type.