fix: Hide swap weapons button in TSL

This commit is contained in:
Vsevolod Kremianskii 2020-11-06 17:36:26 +07:00
parent e85cf09d4b
commit cd424bf6d6
2 changed files with 2 additions and 1 deletions

View file

@ -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");
}
}

View file

@ -53,6 +53,7 @@ void HUD::load() {
_select.load();
hideControl("BTN_CLEARALL");
hideControl("BTN_SWAPWEAPONS");
hideControl("BTN_TARGET0");
hideControl("BTN_TARGET1");
hideControl("BTN_TARGET2");