Skip to content

Commit

Permalink
port: net: disable pause in netgames
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Dec 27, 2023
1 parent 67bc9c4 commit ebc126f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/game/mplayer/ingame.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ MenuItemHandlerResult menuhandlerMpPause(s32 operation, struct menuitem *item, u
}

if (operation == MENUOP_CHECKHIDDEN) {
#ifndef PLATFORM_N64
if (g_NetMode) {
return true;
}
#endif
if (PLAYERCOUNT() == 1) {
return true;
}
Expand Down

0 comments on commit ebc126f

Please sign in to comment.