Skip to content

Commit

Permalink
only host_writeconfig when closing settings, not when changing tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Jul 24, 2023
1 parent fc9daf0 commit a1bb470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/swarm/vgui/rd_vgui_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void CRD_VGUI_Settings::NavigateToTab( BaseModHybridButton *pButton, CRD_VGUI_Se
if ( szTabID )
{
rd_settings_last_tab.SetValue( szTabID );
engine->ClientCmd_Unrestricted( "host_writeconfig\n" );
s_bWantSave = true;
}
}

Expand Down

0 comments on commit a1bb470

Please sign in to comment.