Skip to content

Commit

Permalink
ref: version and comment refactor for pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
SpirTBBX committed Jul 14, 2024
1 parent fda57e3 commit 4446e75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions RetakesPlugin/RetakesPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace RetakesPlugin;
[MinimumApiVersion(220)]
public class RetakesPlugin : BasePlugin
{
private const string Version = "2.0.6.1";
private const string Version = "2.0.7";

#region Plugin info
public override string ModuleName => "Retakes Plugin";
Expand Down Expand Up @@ -510,10 +510,6 @@ public HookResult OnPlayerConnectFull(EventPlayerConnectFull @event, GameEventIn
}

// TODO: We can make use of sv_human_autojoin_team 3 to prevent needing to do this.

//This was commented out as it causes the player to be able to join as spectator stay playing with xray until he's killed.
//Players that use this bug are not seen by other players. To fix this, we force the player to join as spectator by default
//player.TeamNum = (int)CsTeam.Spectator;
player.ForceTeamTime = 3600.0f;

// Create a timer to do this as it would occasionally fire too early.
Expand Down

0 comments on commit 4446e75

Please sign in to comment.