Skip to content

Commit

Permalink
Disable transparent rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Nov 2, 2024
1 parent a2b6d3e commit 60fe936
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/Jailbreak.RTD/Rewards/ColorReward.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public char ChatColor
public virtual string Description
=> $"You will spawn {ChatColor}{ColorName}{ChatColors.Grey} next round.";

public virtual bool Enabled => true;

public bool CanGrantReward(CCSPlayerController player) {
return player.Team == CsTeam.Terrorist || !prisonerOnly;
}
Expand Down
2 changes: 2 additions & 0 deletions mod/Jailbreak.RTD/Rewards/TransparentReward.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ public class TransparentReward()

public override string Description
=> "You will spawn transparent next round.";

public override bool Enabled => false;
}

0 comments on commit 60fe936

Please sign in to comment.