mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Removed unnecessary line
This commit is contained in:
parent
62460e8b79
commit
be4ba6144f
@ -24,7 +24,6 @@ if (!(_target isKindOf "CaManBase") || !(_caller isKindOf "CaManBase")) exitwith
|
||||
if (vehicle _caller != _caller || vehicle _target != _target) exitwith {};
|
||||
if (!([_caller] call EFUNC(common,canInteract)) || {_caller == _target} || {(([_target] call EFUNC(common,isAwake)))}) exitwith {};
|
||||
|
||||
_caller action ["WeaponOnBack", _caller];
|
||||
if (!alive _target) exitwith {
|
||||
if (GVAR(allowDeadBodyMovement)) then {
|
||||
[{
|
||||
|
@ -85,9 +85,10 @@ clearWeaponCargoGlobal (backpackContainer _newUnit);
|
||||
|
||||
_newUnit selectWeapon (primaryWeapon _newUnit);
|
||||
|
||||
// TODO sometimes the old body does not get cleaned up properly. Look into garbage collection.
|
||||
// TODO sometimes the old body does not get cleaned up properly.
|
||||
// TODO Maybe it is better to hide the body, attach it as well, and remove the copy once we are done with it instead?
|
||||
deleteVehicle _oldBody;
|
||||
|
||||
_newUnit setDamage 0.89;
|
||||
|
||||
_newUnit
|
||||
_newUnit;
|
||||
|
Loading…
Reference in New Issue
Block a user