diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-07-27 22:30:22 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-07-27 22:30:22 +0100 |
| commit | 8b69e65e51507118b014a0426ae6f957b78a0707 (patch) | |
| tree | c1507990c5f5cc05a4e9000c295618ac85524f9a /code/weapon/Weapon.cs | |
| parent | 71db52c5443a7bf82d9a23a770994a42b043be04 (diff) | |
Reformat
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]
|
