fix ChangeLevel when called for ending the game.

This commit is contained in:
Christoph Oelckers 2023-11-17 21:41:29 +01:00
parent 215d929df7
commit 4c33f534ca

View file

@ -254,7 +254,7 @@ void ChangeLevel(MapRecord* map, int skill, bool bossexit)
Net_WriteByte(DEM_CHANGEMAP);
Net_WriteByte(skill);
Net_WriteByte(bossexit);
Net_WriteString(map? map->labelName.GetChars() : nullptr);
Net_WriteString(map? map->labelName.GetChars() : "");
}
//---------------------------------------------------------------------------