diff options
Diffstat (limited to 'code/weapon/Weapon.cs')
| -rw-r--r-- | code/weapon/Weapon.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/code/weapon/Weapon.cs b/code/weapon/Weapon.cs index 2af8ba6..4519adc 100644 --- a/code/weapon/Weapon.cs +++ b/code/weapon/Weapon.cs @@ -202,13 +202,13 @@ public partial class Weapon : AnimatedEntity vm.Owner = Owner;
ViewModelEntity = vm;
if (!string.IsNullOrEmpty(HandsModelPath))
- {
- HandModelEntity = new BaseViewModel();
- HandModelEntity.Owner = Owner;
- HandModelEntity.EnableViewmodelRendering = true;
- HandModelEntity.SetModel(HandsModelPath);
- HandModelEntity.SetParent(ViewModelEntity, true);
- }
+ {
+ HandModelEntity = new BaseViewModel();
+ HandModelEntity.Owner = Owner;
+ HandModelEntity.EnableViewmodelRendering = true;
+ HandModelEntity.SetModel(HandsModelPath);
+ HandModelEntity.SetParent(ViewModelEntity, true);
+ }
}
[ClientRpc]
|
