mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
Fix dedicated idling ignoring disconnected players
This commit is contained in:
parent
cfb3b45ae4
commit
ba8b1e0848
1 changed files with 3 additions and 3 deletions
|
@ -1501,8 +1501,8 @@ void NetUpdate(void)
|
|||
INT32 i;
|
||||
|
||||
boolean empty = true;
|
||||
for (i = 1; i < MAXNETNODES; i++)
|
||||
if (netnodes[i].ingame)
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playeringame[i])
|
||||
{
|
||||
empty = false;
|
||||
break;
|
||||
|
@ -1542,7 +1542,7 @@ void NetUpdate(void)
|
|||
{
|
||||
if (dedicatedidle >= dedicatedidletime)
|
||||
{
|
||||
CONS_Printf("DEDICATED: Awakening from idle (Node detected...)\n");
|
||||
CONS_Printf("DEDICATED: Awakening from idle (Player detected...)\n");
|
||||
dedicatedidle = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue