mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix setUnconsciousAnim error
This commit is contained in:
parent
ddf72d5878
commit
6aa32ce811
@ -48,6 +48,7 @@
|
|||||||
// needed, because the vanilla INCAPACITATED state does not handle vehicles
|
// needed, because the vanilla INCAPACITATED state does not handle vehicles
|
||||||
["CAManBase", "GetInMan", {
|
["CAManBase", "GetInMan", {
|
||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
if (!local _unit) exitWith {};
|
||||||
|
|
||||||
if (lifeState _unit == "INCAPACITATED") then {
|
if (lifeState _unit == "INCAPACITATED") then {
|
||||||
[_unit, true] call FUNC(setUnconsciousAnim);
|
[_unit, true] call FUNC(setUnconsciousAnim);
|
||||||
|
Loading…
Reference in New Issue
Block a user