Fix text getting appended to vid_restart in command buffer
I was getting unknown command "vid_restart-button2" warning on OSX when trying to use alt-return to toggle fullscreen.
This commit is contained in:
1 parent
2eaee597c9
commit
81909bb266
2 files changed
+2
-2
No files matched your search
@@ -999,7 +999,7 @@ void IN_Frame( void )
|
||||
if ( (vidRestartTime != 0) && (vidRestartTime < Sys_Milliseconds()) )
|
||||
{
|
||||
vidRestartTime = 0;
|
||||
Cbuf_AddText( "vid_restart" );
|
||||
Cbuf_AddText( "vid_restart\n" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user