Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Fix traitor rule system
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemirda committed Mar 28, 2024
1 parent c9ef8f6 commit 7031251
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@ private void HandleLatejoin(PlayerSpawnCompleteEvent ev)
if (chance > 1)
chance = 1;

// A-13 SponsorAntag start
if (_sponsors.TryGetInfo(ev.Player.UserId, out var sponsor) && sponsor.ExtraSlots == 7) // Cringe check until Tehnox update our service
chance = 1;
// A-13 SponsorAntag end
// A-13 SponsorAntag start
if (_sponsors.TryGetInfo(ev.Player.UserId, out var sponsor) && sponsor.ExtraSlots == 7) // Cringe check until Tehnox update our service
chance = 1;
// A-13 SponsorAntag end

// Now that we've calculated our chance, roll and make them a traitor if we roll under.
// You get one shot.
Expand Down

0 comments on commit 7031251

Please sign in to comment.