mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix stuck in uncon animation after CfgExtendedAnimation change (#8692)
This commit is contained in:
parent
94d0466f17
commit
24a28da566
@ -66,7 +66,7 @@
|
||||
// Fixes units being stuck in unconscious animation when being knocked over by a PhysX object
|
||||
["CAManBase", "AnimDone", {
|
||||
params ["_unit", "_anim"];
|
||||
if (local _unit && {_anim find QGVAR(face) != -1 && {lifeState _unit != "INCAPACITATED"}}) then {
|
||||
if (local _unit && {_anim find QUNCON_ANIM(face) != -1 && {lifeState _unit != "INCAPACITATED"}}) then {
|
||||
[_unit, false] call FUNC(setUnconsciousAnim);
|
||||
};
|
||||
}] call CBA_fnc_addClassEventHandler;
|
||||
|
Loading…
Reference in New Issue
Block a user