coavins / zomboid-coavins-firearms

A Project Zomboid mod that expands the firearm repair system
https://steamcommunity.com/sharedfiles/filedetails/?id=3101379739
MIT License
6 stars 5 forks source link

Remove part from hand after installing it #96

Closed coavins closed 9 months ago

coavins commented 9 months ago

Pull Request

Description

Call self.character:setPrimaryHandItem(nil) after removing the item from the inventory. This seems to be what TIS is doing elsewhere.

Related Issues

Resolves #95

Checklist

Additional Notes

How to create a good Pull Request

For guidelines on how to best create a Pull Request for this project, please refer to "How to create a Pull Request"


By submitting this pull request, I confirm that my contributions are made under the terms of the project's license.