Update XEH_preInit.sqf

This commit is contained in:
johnb432 2024-02-03 09:25:58 +01:00
parent 2d8dc01f2c
commit 58e220b1b1

View File

@ -80,20 +80,6 @@ GVAR(inheritedClassesAll) = [];
GVAR(inheritedActionsMan) = [];
GVAR(inheritedClassesMan) = [];
// Extended EH doesn't fire for dead units, so add interactions manually
{
private _type = typeOf _x;
if (GVAR(inheritedClassesMan) pushBackUnique _type == -1) then {
continue;
};
{
_x params ["_typeNum", "_parentPath", "_action"];
[_type, _typeNum, _parentPath, _action] call FUNC(addActionToClass);
} forEach GVAR(inheritedActionsMan);
} forEach allDeadMen;
["All", "InitPost", {
BEGIN_COUNTER(InitPost);
params ["_object"];