ref: gl: deregister timerefresh command in renderer, as it's renderer-specific

This commit is contained in:
Alibek Omarov 2024-10-28 01:59:39 +03:00
parent 562b54839c
commit 4a58be2aa0
2 changed files with 1 additions and 1 deletions

View file

@ -853,7 +853,6 @@ void SCR_Shutdown( void )
{ {
if( !scr_init ) return; if( !scr_init ) return;
Cmd_RemoveCommand( "timerefresh" );
Cmd_RemoveCommand( "skyname" ); Cmd_RemoveCommand( "skyname" );
Cmd_RemoveCommand( "viewpos" ); Cmd_RemoveCommand( "viewpos" );
UI_SetActiveMenu( false ); UI_SetActiveMenu( false );

View file

@ -1261,6 +1261,7 @@ GL_RemoveCommands
static void GL_RemoveCommands( void ) static void GL_RemoveCommands( void )
{ {
gEngfuncs.Cmd_RemoveCommand( "r_info" ); gEngfuncs.Cmd_RemoveCommand( "r_info" );
gEngfuncs.Cmd_RemoveCommand( "timerefresh" );
} }
/* /*