Skip to content

Commit 8cd2337

Browse files
committed
new settings for fps / net
1 parent 9defdfd commit 8cd2337

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/client/vgui_fpspanel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// memdbgon must be the last include file in a .cpp file!!!
2525
#include "tier0/memdbgon.h"
2626

27-
static ConVar cl_showfps( "cl_showfps", "0", FCVAR_ALLOWED_IN_COMPETITIVE, "Draw fps meter at top of screen (1 = fps, 2 = smooth fps)" );
27+
static ConVar cl_showfps( "cl_showfps", "0", FCVAR_ARCHIVE | FCVAR_ALLOWED_IN_COMPETITIVE, "Draw fps meter at top of screen (1 = fps, 2 = smooth fps)" );
2828
static ConVar cl_showpos( "cl_showpos", "0", 0, "Draw current position at top of screen" );
2929
static ConVar cl_showbattery( "cl_showbattery", "0", 0, "Draw current battery level at top of screen when on battery power" );
3030

src/game/client/vgui_netgraphpanel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static ConVar net_graphshowinterp ( "net_graphshowinterp", "1", FCVAR_ARCHIVE, "
4242

4343
void NetgraphFontChangeCallback( IConVar *var, const char *pOldValue, float flOldValue );
4444

45-
static ConVar net_graph ( "net_graph","0", 0, "Draw the network usage graph, = 2 draws data on payload, = 3 draws payload legend.", NetgraphFontChangeCallback );
45+
static ConVar net_graph ( "net_graph","0", FCVAR_ARCHIVE, "Draw the network usage graph, = 2 draws data on payload, = 3 draws payload legend.", NetgraphFontChangeCallback );
4646
static ConVar net_graphheight ( "net_graphheight", "64", FCVAR_ARCHIVE, "Height of netgraph panel", NetgraphFontChangeCallback );
4747
static ConVar net_graphproportionalfont( "net_graphproportionalfont", "1", FCVAR_ARCHIVE, "Determines whether netgraph font is proportional or not", NetgraphFontChangeCallback );
4848

0 commit comments

Comments
 (0)