Vehicle part duplication bug

Installing a part to a vehicle from around the player (not on them), then installing the same part again (even though it was used) results in a duplication. The crafting_inv cache was not being updated when the player completed installation.

Edit: Bevap clued me into a way better way to do this, without bypassing the cache. *sigh*

-Davek