Skip to content

Commit

Permalink
Servers can only be started in dedicated mode
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 20, 2011
1 parent 2a5ace4 commit d4770c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/engine/portable/src/sys_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,12 @@ boolean N_Disconnect(void)

boolean N_ServerOpen(void)
{
if(!isDedicated)
{
Con_Message("N_ServerOpen: Server can only be started in dedicated mode! (run with -dedicated)\n");
return false;
}

if(!N_IsAvailable())
return false;

Expand Down

0 comments on commit d4770c7

Please sign in to comment.