mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed handcuffing not breaking sitting animation
This commit is contained in:
parent
083d34b62b
commit
922e88d31e
@ -1,5 +1,8 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
// Exit on Headless
|
||||
if !(hasInterface) exitWith {};
|
||||
|
||||
// Add interaction menu exception
|
||||
["isNotSitting", {!((_this select 0) getVariable [QGVAR(isSitting), false])}] call EFUNC(common,addCanInteractWithCondition);
|
||||
|
||||
|
@ -18,7 +18,5 @@
|
||||
PARAMS_1(_player);
|
||||
|
||||
if (_player getVariable [QGVAR(isSitting), false]) then {
|
||||
_player setVariable [QGVAR(isSitting), nil];
|
||||
GVAR(seat) setVariable [QGVAR(seatOccupied), nil, true];
|
||||
GVAR(seat) = nil;
|
||||
[_player] call FUNC(stand);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user