aboutsummaryrefslogtreecommitdiffstats
path: root/code/weapon
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-07-27 22:30:22 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-07-27 22:30:22 +0100
commit8b69e65e51507118b014a0426ae6f957b78a0707 (patch)
treec1507990c5f5cc05a4e9000c295618ac85524f9a /code/weapon
parent71db52c5443a7bf82d9a23a770994a42b043be04 (diff)
Reformat
Diffstat (limited to 'code/weapon')
-rw-r--r--code/weapon/Weapon.cs14
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]