mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
Merge pull request #4356 from GregorR/netplay-alive-server-spectating
Fix to the netplay_is_alive function when server isn't playing
This commit is contained in:
commit
503ccfbc42
@ -50,7 +50,8 @@ static bool netplay_is_alive(void)
|
||||
{
|
||||
if (!netplay_data)
|
||||
return false;
|
||||
return !!netplay_data->connected_players;
|
||||
return (netplay_data->is_server && !!netplay_data->connected_players) ||
|
||||
(!netplay_data->is_server && netplay_data->self_mode >= NETPLAY_CONNECTION_CONNECTED);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user