Skip to content

Commit

Permalink
Fixed commandhelper for new force bombsite commands
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none committed Jul 26, 2024
1 parent b97fcad commit c8cfa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RetakesPlugin/RetakesPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public override void Load(bool hotReload)

#region Commands
[ConsoleCommand("css_forcebombsitestop", "Clear the forced bombsite and return back to normal.")]
[CommandHelper(minArgs: 1, usage: "[A/B]", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
[CommandHelper(whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
[RequiresPermissions("@css/root")]
public void OnCommandForceBombsiteStop(CCSPlayerController? player, CommandInfo commandInfo)
{
Expand All @@ -114,7 +114,7 @@ public void OnCommandForceBombsiteStop(CCSPlayerController? player, CommandInfo
}

[ConsoleCommand("css_forcebombsite", "Force the retakes to occur from a single bombsite.")]
[CommandHelper(whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
[CommandHelper(minArgs: 1, usage: "[A/B]", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
[RequiresPermissions("@css/root")]
public void OnCommandForceBombsite(CCSPlayerController? player, CommandInfo commandInfo)
{
Expand Down

0 comments on commit c8cfa21

Please sign in to comment.