Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions addons/vehicles/CfgActions.hpp

This file was deleted.

1 change: 0 additions & 1 deletion addons/vehicles/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ class CfgPatches {
#include "CfgAmmo.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"
#include "CfgActions.hpp"
10 changes: 7 additions & 3 deletions addons/vehicles/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@
ELSTRING(common,ACEKeybindCategoryVehicles),
true,
2, {
profileNamespace setVariable [QGVAR(showEjectAction), parseNumber !_this];
saveProfileNamespace;
#define ACTION_ENUM_EJECT 51
if (isNil "CBA_fnc_hideAction") then {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo we can just force ACE to require CBA's version that contains CBA_fnc_hideAction, whenever it's released, but that isn't a big deal - otherwise, lgtm.

hideActions [_this, [ACTION_ENUM_EJECT]];
} else {
[ACTION_ENUM_EJECT, QUOTE(ADDON), _this] call CBA_fnc_hideAction;
};
},
true // needs restart
true // needs restart (for ace_aircraft's initEjectAction text color)
] call CBA_fnc_addSetting;

[
Expand Down
Loading