mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#1298 - Reset handcuffs on respawn
This commit is contained in:
parent
3c5eac96ea
commit
c4e5e9a7ac
@ -17,8 +17,10 @@
|
||||
|
||||
PARAMS_1(_oldUnit);
|
||||
|
||||
if (!local _oldUnit) exitWith {};
|
||||
|
||||
if (_oldUnit getVariable [QGVAR(isHandcuffed), false]) then {
|
||||
[_oldUnit, false] call FUNC(setSurrendered);
|
||||
[_oldUnit, false] call FUNC(setHandcuffed);
|
||||
};
|
||||
|
||||
if (_oldUnit getVariable [QGVAR(isEscorting), false]) then {
|
||||
|
Loading…
Reference in New Issue
Block a user