mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix saveshot not executed when saving
This fixes #273 where the loadsave menu wouldn't show the screenshot
This commit is contained in:
parent
fc0a995c66
commit
d1e94f3934
1 changed files with 1 additions and 1 deletions
|
@ -2002,7 +2002,7 @@ qboolean SV_ArchiveServerFile( qboolean loading, qboolean autosave )
|
|||
|
||||
name = Com_GetArchiveFileName( svs.gameName, "tga" );
|
||||
Com_sprintf( cmdString, sizeof( cmdString ), "saveshot %s 256 256\n", name );
|
||||
Cbuf_ExecuteText( svs.autosave != qfalse, name );
|
||||
Cbuf_ExecuteText( svs.autosave ? EXEC_INSERT : EXEC_NOW, cmdString );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue