Skip to content

Commit

Permalink
port: net: fix maxplayers cap
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Jan 4, 2024
1 parent 16c247a commit 5abb0e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions port/src/net/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ s32 netStartServer(u16 port, s32 maxclients)
}

netClientResetAll();
g_NetMaxClients = maxclients;

// the server's local client is client 0
g_NetLocalClient = &g_NetClients[0];
Expand Down

0 comments on commit 5abb0e4

Please sign in to comment.