mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix goKneeling changing animation inside vehicle (1.60)
This commit is contained in:
parent
48ab81ad87
commit
03a56b1f7d
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Author: commy2
|
* Author: commy2
|
||||||
* Move unit to kneeling position.
|
* Move unit to kneeling position (only if not yet prone).
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* 0: Unit <OBJECT>
|
* 0: Unit <OBJECT>
|
||||||
@ -14,7 +14,8 @@
|
|||||||
|
|
||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
if (stance _unit == "PRONE") exitWith {};
|
// Animation changes even inside vehicle post-1.60
|
||||||
|
if (stance _unit == "PRONE" || {vehicle ACE_player != ACE_player}) exitWith {};
|
||||||
|
|
||||||
[
|
[
|
||||||
_unit,
|
_unit,
|
||||||
|
Loading…
Reference in New Issue
Block a user