mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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…
x
Reference in New Issue
Block a user