Commit 56eea83a authored by NY00123's avatar NY00123
Browse files

sw/src/game.cpp:NewLevel: Wait for all peers when master player quits.

From-SVN: r8746
parent 2d8e1f4e
......@@ -1674,7 +1674,9 @@ NewLevel(void)
MONO_PRINT(ds);
RunLevel();
if (!QuitFlag)
// On map change, or after master player quits
if (!QuitFlag ||
(!NetBroadcastMode && TEST_SYNC_KEY(Player + connecthead, SK_QUIT_GAME)))
{
// for good measure do this
ready2send = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment