mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix saving the config into the map
This commit is contained in:
parent
c025dc2235
commit
6a17d2700d
|
@ -2568,6 +2568,7 @@ void CGameContext::OnMapChange(char *pNewMapName, int MapNameSize)
|
|||
{
|
||||
int Length = str_length(aLines[i]) + 1;
|
||||
mem_copy(pSettings + Offset, aLines[i], Length);
|
||||
Offset += Length;
|
||||
mem_free(aLines[i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue