mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix savegamevar/readgamevar breakage from r3579
git-svn-id: https://svn.eduke32.com/eduke32@3636 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
385c582efa
commit
73cb94b389
2 changed files with 5 additions and 2 deletions
|
@ -950,7 +950,10 @@ void CONFIG_WriteSetup(uint32_t flags)
|
|||
}
|
||||
|
||||
SCRIPT_Save(ud.config.scripthandle, setupfilename);
|
||||
SCRIPT_Free(ud.config.scripthandle);
|
||||
|
||||
if ((flags & 2) == 0)
|
||||
SCRIPT_Free(ud.config.scripthandle);
|
||||
|
||||
OSD_Printf("Wrote %s\n",setupfilename);
|
||||
CONFIG_WriteBinds();
|
||||
Bfflush(NULL);
|
||||
|
|
|
@ -401,7 +401,7 @@ void G_SavePlayerMaybeMulti(int32_t slot)
|
|||
{
|
||||
Bassert(slot >= 0);
|
||||
|
||||
CONFIG_WriteSetup(0);
|
||||
CONFIG_WriteSetup(2);
|
||||
|
||||
if (g_netServer || ud.multimode > 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue