Only the server can flip users.

This commit is contained in:
Gregor Richards 2016-12-14 22:31:01 -05:00
parent a2d377f089
commit 9c6ac2b934

View File

@ -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);