From 4c33f534ca0f7defbdfa551fccf9fddec31c57df Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 17 Nov 2023 21:41:29 +0100 Subject: [PATCH] fix ChangeLevel when called for ending the game. --- source/core/cheats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/cheats.cpp b/source/core/cheats.cpp index 8b337d163..2480bf45a 100644 --- a/source/core/cheats.cpp +++ b/source/core/cheats.cpp @@ -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() : ""); } //---------------------------------------------------------------------------