This branch fixes this bug: https://mb.srb2.org/showthread.php?t=41811
Here's an explanation of how this bug is actually happening:
D_MapChange
to make a map change command. (Note that part of it is actually delayed because it's called from a menu, but this isn't relevant to the bug)D_MapChange
itself calls SV_StartServer
to start up the server, if you're supposed to be the server player.D_MapChange
, the map change command is made anyway.PT_TEXTCMD
packet to yourself.PT_TEXTCMD
you sent to yourself, and some time later, tries to run the net commands stored in it.WARNING: Got unknown net command [14]=0 (max 25)
tl;dr The game doesn't correctly cancel the map change when you cancel the server with Esc like that. This is not a good thing.