fix: Hide swap weapons button in TSL
This commit is contained in:
parent
e85cf09d4b
commit
cd424bf6d6
2 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ namespace game {
|
|||
|
||||
ObjectAction::ObjectAction(ActionType type, Object *object) : Action(type), _object(object) {
|
||||
if (!object) {
|
||||
throw invalid_argument("Object must not be null");
|
||||
throw invalid_argument("object must not be null");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ void HUD::load() {
|
|||
_select.load();
|
||||
|
||||
hideControl("BTN_CLEARALL");
|
||||
hideControl("BTN_SWAPWEAPONS");
|
||||
hideControl("BTN_TARGET0");
|
||||
hideControl("BTN_TARGET1");
|
||||
hideControl("BTN_TARGET2");
|
||||
|
|
Loading…
Reference in a new issue