Skip to content

Commit

Permalink
fix ChangeLevel when called for ending the game.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Nov 17, 2023
1 parent 73aba4c commit 43fa64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() : "");
}

//---------------------------------------------------------------------------
Expand Down

0 comments on commit 43fa64d

Please sign in to comment.