Skip to content

Commit

Permalink
libcommon|UI: Make sure game is frozen before opening a network conne…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
skyjake committed Jan 3, 2014
1 parent 2dd9566 commit a5af162
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doomsday/plugins/common/src/d_net.c
Expand Up @@ -194,8 +194,11 @@ int D_NetServerClose(int before)

int D_NetConnect(int before)
{
// We do nothing before the actual connection is made.
if(before) return true;
if(before)
{
BusyMode_FreezeGameForBusyMode();
return true;
}

// After connecting we tell the server a bit about ourselves.
NetCl_SendPlayerInfo();
Expand Down

0 comments on commit a5af162

Please sign in to comment.