Some fixes

This commit is contained in:
Aviu00
2024-01-25 08:49:08 +03:00
parent e16685a7fe
commit 3e18800d2f
4 changed files with 31 additions and 20 deletions

View File

@@ -135,7 +135,11 @@ public sealed class AntagSelectionSystem : GameRuleSystem<GameRuleComponent>
}
else
{
chosenPlayer = _random.PickAndTake(prefList);
//chosenPlayer = _random.PickAndTake(prefList);
// WD EDIT START
chosenPlayer = _reputationManager.PickPlayerBasedOnReputation(prefList);
prefList.Remove(chosenPlayer);
// WD EDIT END
playerList.Remove(chosenPlayer);
}