Skip to content

Commit

Permalink
Remove irrelevant example code
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored Sep 24, 2023
1 parent 6663d0f commit ca73fd7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/en/robust-toolbox/user-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,6 @@ public sealed class ActionUIController : UIController, IOnSystemChanged<ActionsS

public void OnStateEntered(GameplayState state)
{
if (_actions != null)
{
_actions.OnActionAdded += OnActionAdded;
_actions.OnActionRemoved += OnActionRemoved;
_actions.ActionReplaced += OnActionReplaced;
_actions.ActionsUpdated += OnActionsUpdated;
}

// Bind hotkeys once we enter the gameplay state (start a round and join it as the client)
CommandBinds.Builder
.Bind(ContentKeyFunctions.OpenActionsMenu, InputCmdHandler.FromDelegate(_ => ToggleWindow()))
Expand Down

0 comments on commit ca73fd7

Please sign in to comment.