mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Only the server can flip users.
This commit is contained in:
parent
a2d377f089
commit
9c6ac2b934
@ -969,6 +969,8 @@ bool netplay_driver_ctl(enum rarch_netplay_ctl_state state, void *data)
|
|||||||
goto done;
|
goto done;
|
||||||
case RARCH_NETPLAY_CTL_FLIP_PLAYERS:
|
case RARCH_NETPLAY_CTL_FLIP_PLAYERS:
|
||||||
{
|
{
|
||||||
|
if (!netplay_data->is_server)
|
||||||
|
return false;
|
||||||
bool *state = (bool*)data;
|
bool *state = (bool*)data;
|
||||||
if (*state)
|
if (*state)
|
||||||
netplay_flip_users(netplay_data);
|
netplay_flip_users(netplay_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user