Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player.PlayerEntity: When equipping a player's inventory item, replac…
…e the weapon if it has a silencer as well This fixes the issue when switching between weapon classes and weapons therein which have a silencer, i.e. the M4A1-S: guns 1 => choose M4A1-S, remove silencer guns 2 => choose M4A1-S, replace the weapon with the default silencer state guns 1 => choose M4A1-S, equip weapon with silencer off guns 2 => choose M4A1-S, equip weapon with silencer on Signed-off-by: BackRaw <[email protected]>
- Loading branch information