Make finishgame CCMD net-aware

This commit is contained in:
Randy Heit 2016-01-27 13:19:15 -06:00
commit 2d40874cfa
4 changed files with 10 additions and 3 deletions

View file

@ -2668,6 +2668,11 @@ void Net_DoCommand (int type, BYTE **stream, int player)
players[player].camera = players[player].mo;
break;
case DEM_FINISHGAME:
// Simulate an end-of-game action
G_ChangeLevel(NULL, 0, 0);
break;
default:
I_Error ("Unknown net command: %d", type);
break;