Skip to content

Commit

Permalink
Remove hardcoded round time in auto plant
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none authored Mar 18, 2024
1 parent 84a314b commit ebaf8ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions RetakesPlugin/RetakesPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace RetakesPlugin;
[MinimumApiVersion(180)]
public class RetakesPlugin : BasePlugin
{
private const string Version = "1.4.0";
private const string Version = "1.4.1";

#region Plugin info
public override string ModuleName => "Retakes Plugin";
Expand Down Expand Up @@ -944,9 +944,6 @@ private void AnnounceBombsite(Bombsite bombsite, bool onlyCenter = false)

private void HandleAutoPlant()
{
// Ensure the round time for defuse is always set to 1.92
Server.ExecuteCommand("mp_roundtime_defuse 1.92");

if (RetakesConfig.IsLoaded(_retakesConfig) && !_retakesConfig!.RetakesConfigData!.IsAutoPlantEnabled)
{
return;
Expand Down

0 comments on commit ebaf8ef

Please sign in to comment.