mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-23 04:12:42 +00:00
Linux glimp commands only get registered once
This commit is contained in:
parent
339bbea468
commit
120ee7e535
1 changed files with 6 additions and 1 deletions
|
@ -143,7 +143,12 @@ void Sys_GL_Init()
|
|||
return;
|
||||
|
||||
Cvar_RegisterArray(glimp_cvars, MODULE_CLIENT);
|
||||
Cmd_RegisterArray(glimp_cmds, MODULE_CLIENT);
|
||||
|
||||
static qbool firstInit = qtrue;
|
||||
if (firstInit) {
|
||||
Cmd_RegisterArray(glimp_cmds, MODULE_CLIENT);
|
||||
firstInit = qfalse;
|
||||
}
|
||||
|
||||
sdl_CreateMonitorList();
|
||||
sdl_UpdateMonitorIndexFromCvar();
|
||||
|
|
Loading…
Reference in a new issue