Skip to content

Commit

Permalink
Give me more nukies (space-wizards#18210)
Browse files Browse the repository at this point in the history
  • Loading branch information
coolmankid12345 committed Jul 31, 2023
1 parent 5dead36 commit a8e2be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ private void OnPlayersSpawning(RulePlayerSpawningEvent ev)
}
}

var numNukies = MathHelper.Clamp(ev.PlayerPool.Count / playersPerOperative, 1, maxOperatives);
var numNukies = MathHelper.Clamp(_playerSystem.PlayerCount / playersPerOperative, 1, maxOperatives);

for (var i = 0; i < numNukies; i++)
{
Expand Down

0 comments on commit a8e2be7

Please sign in to comment.