mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +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;
|
||||
case RARCH_NETPLAY_CTL_FLIP_PLAYERS:
|
||||
{
|
||||
if (!netplay_data->is_server)
|
||||
return false;
|
||||
bool *state = (bool*)data;
|
||||
if (*state)
|
||||
netplay_flip_users(netplay_data);
|
||||
|
Loading…
Reference in New Issue
Block a user