mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update XEH_preInit.sqf
This commit is contained in:
parent
2d8dc01f2c
commit
58e220b1b1
@ -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"];
|
||||
|
Loading…
Reference in New Issue
Block a user