From cb4bc1915273c326fa72e648e3ac29e96bed407f Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Oct 2018 03:28:13 +1000 Subject: [PATCH] Set nodrawtoclient on the server-side view model (doesn't need to render) --- qcsrc/server/weapons/weaponsystem.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index 2156c89b4..1f8c58be1 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -179,6 +179,7 @@ void CL_SpawnWeaponentity(entity actor, .entity weaponentity) setthink(view, CL_Weaponentity_Think); view.nextthink = time; view.viewmodelforclient = actor; + view.nodrawtoclient = actor; view.draggable = drag_undraggable; setcefc(view, CL_Weaponentity_CustomizeEntityForClient); -- 2.39.2