Skip to content

Commit

Permalink
fix: bad max player count
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmuffin committed Dec 27, 2023
1 parent db63fdc commit 1252345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed/CounterStrikeSharp.API/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static List<CCSPlayerController> GetPlayers()
{
List<CCSPlayerController> players = new();

for (int i = 0; i <= Server.MaxPlayers; i++)
for (int i = 0; i < Server.MaxPlayers; i++)
{
var controller = GetPlayerFromSlot(i);

Expand Down

0 comments on commit 1252345

Please sign in to comment.